[atomic-reuse] Refresh columns and validation after Atomic Class or Property updates #55
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Affected path
Scope: atomic-reuse only for this reproduced defect.
/atomic-reuse(AtomicLibDemo+AtomicTable)db-table-editor-native)db-table-editor-atomiceditor on NG ORMAtomicTable.This scope does not claim that the NG editors have no independent correctness problems. Reproductions used commit
be8938078d97a70519a991ade8b9207d07067c5f, and current main's relevant source was checked to match. Temporary focused tests reproduced the defects; no fix or permanent regression test has been added.Problem
AtomicTablebuilds its view, columns, requiredness and validators once in the constructor.AtomicLibDemosubscribes to row Resources, but not their Class or Properties. External schema edits therefore leave stale columns and validation, even if a row change later causes a rerender.The Add text column button explicitly rebuilds the adapter, masking the absence of general schema reactivity.
Sources: constructor metadata snapshot, manual rebuild, row-only subscriptions.
The NG ORM editors use separate runtime-schema subscriptions and compilation, rebuilding the table subtree on a new active schema. Their separately noted risk of losing row drafts during remount is not this stale-Atomic-descriptor finding.
Reproduction
store.addResources().adapter.view.columns.This stale-requiredness case was reproduced in a focused adapter test. Source inspection confirms no Class/Property subscriptions; added/removed fields and updated Property labels/types lack the same refresh mechanism.
Acceptance
Related: #51 is row membership, not schema dependency subscriptions; real Atomic backend work remains #45.