Skip to content

GitHub Issue 952: Registry containing MVTC import succeeds with error message#7503

Merged
XingY merged 5 commits intodevelopfrom
fb_issue952
Mar 23, 2026
Merged

GitHub Issue 952: Registry containing MVTC import succeeds with error message#7503
XingY merged 5 commits intodevelopfrom
fb_issue952

Conversation

@XingY
Copy link
Contributor

@XingY XingY commented Mar 18, 2026

Rationale

Issue 952
When update is done using DIB, existingRecord map is included in the response rows object, which shouldn't be.

Related Pull Requests

Changes

boolean ret = super.next();
if (ret)
rows.add(((MapDataIterator)_delegate).getMap());
rows.add(((MapDataIterator)_delegate).getMapExcludeExistingRecord());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How will someone know when they should call getMap() versus getMapExcludeExistingRecord()?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Best I can say is it needs to be evaluated case-by-case. In this case, the map is used to prepare response.rows. Otherwise, getMap with full map should be used while still inside the dataiterator.

@XingY XingY merged commit fa4d88b into develop Mar 23, 2026
7 of 9 checks passed
@XingY XingY deleted the fb_issue952 branch March 23, 2026 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants