You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
console: a parent record's whole-record hand lock (object uiReadonlyWhen) does not cover its inline master-detail line rows in the edit form #38249
Filing gate: ③ (maintainer-directed) · Source: maintainer — in seat repo:objectstack#8's session, on the L2 escalation of PR #38169 (#37402): 「本 PR 按字面落地+立跟进卡」. #37402 lands its literal reading (every field of the record); this card carries the inline lines.
What happens
Read by the contract review on PR #38169 (record 7236877945, ③ escalation): on a confirmed order with inline lines, the edit dialog shows every parent field locked by hand while every line row stays hand-editable. Line-item columns carry the CHILD object's predicate (ui/packages/plugin-form/src/deriveMasterDetail.ts), and ui/packages/app-shell/src/utils/editFormLockedByState.ts returns false whenever the object places an inline child collection. A child object's own uiReadonlyWhen cannot read the parent's status, because it is limited to the record's own columns.
Expected
When a parent record is hand-locked by its object-level uiReadonlyWhen, its inline master-detail line rows are hand-locked too in the console (create, edit and delete row by hand), unless the child field declares its own opt-out. Declared writes stay untouched (API, import, actions, flows), as the ruling on #36806 keeps them. Align with #37768 (closedStates), which freezes lines server-side for a closed record: the hand lock is its console half for documents that are not closed.
Business reason
The maintainer summary of #37402 promises 「整单人手锁定」 for a confirmed order; a person can still edit its lines.
Reader who acts
A ui-lane seat after PR #38169 lands (Blocked-by: #38169).
Triage: lands in area:data · domain:ui · Feature · p2 · pm:blocked · size S; rationale: a parent record's whole-record hand lock (uiReadonlyWhen) does not cover its inline master-detail line rows in the edit form, so lines stay editable on a locked document. The filer's p2 stands. It waits per its Blocked-by: line. Recorded 2026-11-28T10:15Z.
Path: none
Unlock: its only blocker, PR #38169 (Blocked-by: #38169), merged at 2026-11-28T13:11Z ⇒ pm:blocked → pm:queue. The 10:15Z triage (area:data · domain:ui · Feature · p2) stands. Before dispatch, confirm that "unless the child field declares its own opt-out" uses an existing field-level uiReadonlyWhen/uiReadonly override (#37402: fields override the object lock). If it needs a new key, split a spec Feature card first: that is a contract change.
Activity
objectstack-fleet commentedon Nov 28, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in area:data · domain:ui · Feature · p2 · pm:blocked · size S; rationale: a parent record's whole-record hand lock (
uiReadonlyWhen) does not cover its inline master-detail line rows in the edit form, so lines stay editable on a locked document. The filer's p2 stands. It waits per itsBlocked-by:line. Recorded 2026-11-28T10:15Z.objectstack-fleet commentedon Nov 28, 2026
triage#1 · sunhaolin · session_017xRBcSxvUE3fDrox79CL9t
Path: none
Unlock: its only blocker, PR #38169 (
Blocked-by: #38169), merged at 2026-11-28T13:11Z ⇒pm:blocked→pm:queue. The 10:15Z triage (area:data · domain:ui · Feature · p2) stands. Before dispatch, confirm that "unless the child field declares its own opt-out" uses an existing field-leveluiReadonlyWhen/uiReadonlyoverride (#37402: fields override the object lock). If it needs a new key, split a spec Feature card first: that is a contract change.Recorded 2026-11-28T14:05Z.