Repository navigation
Resolve open question 14: a backend reads a table behind a data reference at /<attr>/* - #17
Merged
Merged
Conversation
…ta reference A table bound through a data reference is the model node /<attr>/*, and a backend that looks for its __delta at /<attr> only drops every edit of it without an error. Until now only the frontend side had a check; the backend side was an implementation note, because no conformance app bound a data reference. - Conformance app REF (Z2UI5_CL_CONF_REF, ABAP + cap2UI5 twin): MR_TAB and MR_WIN TYPE REF TO data, bound dereferenced, one with _bind( ), one with window_bind_tab( ) in the order QTY descending. - Backend checks model.reference-delta and window.delta-positions-reference (MUST, core): 93 checks. - spec/request.md: the note became the rule; spec/windowed-tables.md Edits names the * node; open question 14 resolved. - node-runtime 1.149.0 passes both - its backend reads the * node, only its frontend sent the edit wrong (fixed in abap2UI5 #3026). cap2UI5 0.6.0 cannot declare a field TYPE REF TO data in a JavaScript app: the twin's start fails, both checks are pinned for cap2ui5 and kept out of the traffic comparison until a plugin with t.ref( ) (cap2UI5/cap2UI5 5085ddc, unreleased) is in the host. With it the twin passes both, byte for byte as the ABAP app (measured, not recorded). - Suite traffic recorded again from both hosts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014YZFmCjdbLvb757NWCFVeA
oblomov-dev
pushed a commit
that referenced
this pull request
Nov 21, 2026
Brings main's table behind a data reference (#15, #17), cap2UI5 0.7.0 (#18), the node-runtime host and CI's UI5 frontend on 1.150.0 (#19) and the Web Components rename (#16) together with the app-driven window, which abap2UI5 merged to main with 694fb262 (#3032). - Spec: the window cites abap2UI5 main 694fb262 (app/webapp); main's reference rules adapted - a __delta on /<attr>/* of a windowed table names plain rows, a whole value there is written. Main's open question 14 (resolved) kept; the protocol-number question renumbered to 15. - Apps: the windowed table behind a data reference moved from REF into WINDOW (MR_WIN, event WIN), so REF builds on every runtime; checks window.delta-rows-reference and window.edit-row-shown-reference (on the recorded MR_WIN) replace the position-based ones. - Released hosts have no app-driven window: node-runtime 1.150.0 leaves the app WINDOW out of its build and lint:abap (scripts/lint-abap.mjs), cap2UI5 0.7.0 refuses its window_bind_tab( ). Their eight MUST window checks and window.request-bounds are pinned with the fix "abap2UI5 main 694fb262, the next release after 1.150.0" - for node-runtime only when the installed runtime lacks cs_window_reason; the UI5 SPA's three ui5.window-* checks are pinned for a checkout without the app-driven WindowModel.js (CI's af05dce). - Traffic recorded with node-runtime on a runtime built from 694fb262 and its app/webapp, cap2UI5 on 0.7.0; traffic.test reads the pins of the recording (RECORDED_FAILURES). npm test is green on the released packages (CI) and on the main runtime. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014YZFmEAFUJQM8c8aDK1d6U
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.
Maintainer decision needed: this resolves open question 14 as alternative (b) — the backend side of the
*-node delta becomes a MUST. AGENTS.md leaves resolving open questions to the maintainer; please merge only if (b) is the answer you want.conformance/apps/abap/z2ui5_cl_conf_ref.clas.abap+ xml,conformance/apps/cap2ui5/ref.js): twoREF TO datatables bound dereferenced —MR_TAB(3 rows,_bind( )) andMR_WIN(6 rows,window_bind_tab( ), window 4, sorted QTY desc);CHECKwrites what the backend holds intoSUMMARY.model.reference-delta—{MR_TAB:{"*":{__delta:{1:{…}}}}}changes exactly that cell;window.delta-positions-reference—__deltakeys underMR_WIN/*are positions in the sorted window (rows ID 4 and 5, not 1 and 3).spec/request.mdnote → MUST with Checked by;spec/windowed-tables.mdnames the*node;spec/open-questions.md14 resolved (b).main_json_to_attrialready applies*/__delta— only the 1.149.0 frontend was wrong). cap2UI5 0.6.0 fails both at app start (JS apps can't declareTYPE REF TO data) — pinned intest/lib/expected.mjsandBACKEND_TRAFFIC_APART; the plugin support is cap2UI5/cap2UI5 (t.ref), and with it both pass.npm test: 91/91 (both reference backends, UI5 SPA in Chromium, agent client, Adaptive Cards, terminal).After a cap2UI5 plugin release with
t.ref: bumpconformance/hosts/cap2ui5, drop the two pins andBACKEND_TRAFFIC_APARTentries, expect both checks to pass,npm run record.Generated by Claude Code