Skip to content

Fix LT-19237: preserve Data Notebook fields merging record-type layouts#429

Merged
jasonleenaylor merged 4 commits into
developfrom
bugfix/LT-19237
Jul 2, 2026
Merged

Fix LT-19237: preserve Data Notebook fields merging record-type layouts#429
jasonleenaylor merged 4 commits into
developfrom
bugfix/LT-19237

Conversation

@jasonleenaylor

@jasonleenaylor jasonleenaylor commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

The Data Notebook writes one layout per record type, all sharing the same class/type/name and differing only by choiceGuid. Leaving choiceGuid out of the merge key let Send/Receive confuse one record type's layout for another's, dropping most fields from a record type.


This change is Reviewable

The Data Notebook writes one layout per record type, all sharing the same
class/type/name and differing only by choiceGuid. Leaving choiceGuid out
of the merge key let Send/Receive confuse one record type's layout for
another's, dropping most fields from a record type.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown

Test Results

556 tests  +2   556 ✅ +2   3m 33s ⏱️ -5s
  6 suites ±0     0 💤 ±0 
  6 files   ±0     0 ❌ ±0 

Results for commit ecf6a85. ± Comparison against base commit 11642e0.

♻️ This comment has been updated with latest results.

Drop the unverifiable SUEL/FamiliaTrujillo user-to-side attribution and note
the test data is a trimmed subset of the ticket's reproduction.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@jasonleenaylor jasonleenaylor enabled auto-merge (squash) July 1, 2026 20:31
jasonleenaylor and others added 2 commits July 1, 2026 15:51
The two-way diff collector keyed Data Notebook layouts on class/type/name
only, so record types that differ only by choiceGuid collided and threw a
duplicate-key exception when viewing history or change reports. Key on
choiceGuid too, matching the merge fix.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Indent the <part> elements in the layout test data with a tab, matching the
other tests in this fixture (and real FLEx layout output); they were 4-space
indented. Whitespace only; no behavior change.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@imnasnainaec

This comment was marked as outdated.

@mark-sil mark-sil left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@mark-sil reviewed 3 files and all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on jasonleenaylor).

@jasonleenaylor jasonleenaylor merged commit edcec46 into develop Jul 2, 2026
2 of 3 checks passed
@jasonleenaylor jasonleenaylor deleted the bugfix/LT-19237 branch July 2, 2026 13:39
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.

3 participants