Fix: Invalid CQN error during draftActivate on deeply nested entities - #570
Open
PujaDeshmukh17 wants to merge 3 commits into
Open
Fix: Invalid CQN error during draftActivate on deeply nested entities#570PujaDeshmukh17 wants to merge 3 commits into
PujaDeshmukh17 wants to merge 3 commits into
Conversation
PujaDeshmukh17
had a problem deploying
to
pr-analysis
August 18, 2026 09:49 — with
GitHub Actions
Failure
PujaDeshmukh17
had a problem deploying
to
pr-analysis
August 18, 2026 16:07 — with
GitHub Actions
Failure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem: During draftActivate on entities with deeply nested compositions (5+ levels deep or many compositions), the following error was thrown:
Invalid CQN: Element 'SDM_READONLY_CONTEXT.uploadStatus' does not exist
The internal SDM_READONLY_CONTEXT wrapper key — used to preserve uploadStatus across handler phases — was being removed using plain Map.values() traversal. This traversal cannot reach all composition data in deeply nested CDS structures, leaving stale entries that caused CQN validation failures.
This PR contains the changes done in release 1.9.3 (#563) and is raised to port those changes to current develop.
Type of change
Please delete options that are not relevant.
Checklist before requesting a review
Upload Screenshots/lists of the scenarios tested