eclipse-tractusx / bpdm

bpdm
Apache License 2.0
6 stars 15 forks source link

Missing output stage for same external_id but different tenant_bpnl #1104

Open StWeisshaar opened 1 week ago

StWeisshaar commented 1 week ago

Current Behavior

When sending back data back to the Gate, we saw success in the sharing state, but no output stage was generated. We found the root cause, shown in the screenshot below. This issue happens when we get the same external IDs with different tenant values.

image

Props to @dilipdhankecha2530 for finding this issue!

Expected Behavior

Even though there is already an output stage for the given external ID, a new output stage is generated in case the tenant value is different.

Steps To Reproduce

  1. Process a new dataset with external ID = A and tenant value = null
  2. Wait for the dataset to create an output stage
  3. Process a new dataset with the same external ID = A and tenant value != null
  4. There is no separate output stage created for the second dataset
dilipdhankecha2530 commented 4 days ago

Resolve this issue in https://github.com/eclipse-tractusx/bpdm/pull/1109.