Skip to content

fix(templates): a moved document line resums the vacated document from the full-row paths too, and the relation picker stays a task-form control - #6872

Merged
delchev merged 1 commit into
masterfrom
fix/document-move-and-picker
Aug 20, 2026
Merged

fix(templates): a moved document line resums the vacated document from the full-row paths too, and the relation picker stays a task-form control#6872
delchev merged 1 commit into
masterfrom
fix/document-move-and-picker

Conversation

@delchev

@delchev delchev commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Closes #6863 and #6866 — the two generated-output residues of the 2026-08-19 wave review.

Verified: ModelGenerationIT (render + consecutive-blank-lines guard), IntentEngineIT 56/56, IntentEmissionCoverageIT, engine-intent unit suite 759+.

🤖 Generated with Claude Code

…m the full-row paths too, and the relation picker stays a task-form control (#6863, #6866)

Two residues of the 2026-08-19 wave, found in its review:

- #6840 closed the moved-line hole for the TARGETED write paths; the
  full-row update() and updateWithoutEvent still resummed only the
  document the line points at NOW. A REST PUT re-pointing a line's FK -
  the most ordinary write there is - left the vacated document
  displaying, printing and POSTING a total that did not equal the sum of
  its lines. Both paths now read the before-FK through the BASE find
  (the history before-image's convention) and resum both documents when
  the line moved. Closes #6863.

- The relation picker (#6849) locates its option list through the
  __<Fk>EntityUrl / __<Fk>EntityLabel process variables the trigger
  seeds, which exist only on a task form - but the generator's branch
  was reachable from a NON-task form listing a bare to-one relation in
  fields:, where isReadonlyByDefault(null) reads false and an editable,
  permanently-empty select replaced the text control that at least
  showed the raw key. The picker branch is now gated on the task form,
  with a fixture-surgery-guarded regression test. Closes #6866.

Verified by ModelGenerationIT (render + blank-line guard), IntentEngineIT
and IntentEmissionCoverageIT, plus the engine-intent unit suite.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@delchev
delchev merged commit af8121f into master Aug 20, 2026
10 checks passed
@delchev
delchev deleted the fix/document-move-and-picker branch August 20, 2026 10:45
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.

templates: a full-row update() that moves a document line never resums the vacated document

1 participant