Repository navigation
Commit e66222a
committed
fix: alter page insert/drop/replace of pluggable object-list entries
A PDS Dropdown Menu's `dropdownitem` entries could not be targeted by
ALTER PAGE: insert failed check with MDL-WIDGET25, drop and replace found
no widget. Entries are nameless WidgetObjects in the owner's object list,
typed by the owner's Type, so they are now built as children of a
throwaway donor widget and repointed at the owner's stored Type (refused
before writing if any pointer cannot be mapped). New PageMutator methods
resolve, insert and drop entries; DROP resolves every ref before removing
any, and REPLACE inserts before it drops.
The whole-menu replace workaround hit CE0463 from three drifts, all fixed:
a PropertyType key index flattened across levels in augment.go, PDS's
unconditional hidePropertiesIn not extracted (now OperatorAlways), and
unset visible item TextTemplates written null instead of an empty
ClientTemplate. WidgetDefGeneratorVersion is bumped to 18.
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 90f6ca4 commit e66222a
30 files changed
Lines changed: 2130 additions & 204 deletions
File tree
- .claude/skills/fix-issue/findings
- mdl-examples/bug-tests
- mdl
- backend
- mcp
- mock
- modelsdk
- pagemutator
- widgetobj
- executor
- types
- modelsdk/widgets
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| 129 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
0 commit comments