SAP / open-ux-odata

Enable community collaboration to jointly promote and facilitate best in class framework and tooling capabilities when working with OData services.
Apache License 2.0
51 stars 13 forks source link

fix: provide right response when there are failures in multi select changeset mode #866

Closed raghavsk closed 1 month ago

raghavsk commented 1 month ago
  1. When a change set request fails due to an error in processing one of it's parts, we exit the scenario and don't execute the remaining parts of the change set.
  2. We correct the behaviour to return a single error on change set failure.
  3. The function handlePart is refactored into:
    • ChangeSet case: getChangeSetResponse getPartRequest get412ErrorInfo* getPartResponse getCombined412ErrorResponse
    • Isolated case: getPartRequest getPartResponse
changeset-bot[bot] commented 1 month ago

🦋 Changeset detected

Latest commit: f48d4034b907619f9e8d2884d200edfbea00176c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages | Name | Type | | ------------------------------------ | ----- | | @sap-ux/fe-mockserver-core | Patch | | @sap-ux/ui5-middleware-fe-mockserver | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

cla-assistant[bot] commented 1 month ago

CLA assistant check
All committers have signed the CLA.

raghavsk commented 1 month ago

We shall use the pull request https://github.com/SAP/open-ux-odata/pull/869 for this change.