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
Legacy Data grid control-bar buttons cannot be addressed: ALTER says "widget not found", SHOW WIDGETS and DESCRIBE omit them, yet DESCRIBE says they are addressable #1889
Model: the project.mpr inside the public OIDC SSO 2.3.2 package (Marketplace content 120371, OIDC-SSO-Mx9-2.3.2.mpk), unzipped. Any page or snippet with a legacy Data grid that has control-bar buttons shows the same thing.
What happens
OIDC.Snip_Configuration holds a legacy data grid (Forms$DataGrid, grid1) with six control-bar buttons (Forms$GridActionButton in ControlBar.NewButtons: actionButton1, actionButton2, actionButton3, actionButton4, actionButton6, actionButton7).
DESCRIBE says the buttons can be addressed:
$ mxcli -p project.mpr -c "describe snippet OIDC.Snip_Configuration"
-- Forms$DataGrid (grid1) -- NOT re-executable: mxcli cannot author this widget, so re-running this script would drop it
-- its columns, search fields and buttons are addressable by name: alter page … drop <name> | set (Caption: '…') on <name>
-- column column1 (DataGridColumn, Caption: 'Alias', Attribute: Alias)
...
It lists the columns but none of the buttons, and ALTER cannot reach them:
$ cat a.mdl
mdl 1;
alter snippet OIDC."Snip_Configuration" {
set (Caption: 'Edit X') on actionButton4;
};
$ mxcli check a.mdl -p project.mpr --references
alter snippet OIDC.Snip_Configuration: failed to set Caption on actionButton4: widget "actionButton4" not found
drop widget actionButton4 fails the same way. A column of the same grid works (set (Caption: 'Alias X') on column1 passes). show widgets in OIDC lists grid1 and actionButton5 for this snippet, but none of the grid's buttons.
Why it matters
After a Marketplace module update removes or renames a microflow, a control-bar button of a legacy grid that calls it gives CE1613. There is no MDL path to re-point that button (set (Action: call microflow …) on <button>), and create or modify would drop the whole grid (DESCRIBE marks it not re-executable). The only headless way out is replacing the grid with a Data grid 2, which redesigns the screen. Tools that drive mxcli also cannot list the buttons to tell the person exactly which one to change.
Expected
alter page|snippet … set (…) on <button> and drop widget <button> work for Forms$GridActionButton in a legacy grid's control bar, at least for Caption and Action (call microflow / show page, with parameter mapping), since that covers the CE1613 repair.
DESCRIBE lists the control-bar buttons under the grid comment (name, caption, action), and show widgets includes them.
Until then, the DESCRIBE comment should not say the buttons are addressable.
No commit on main since v0.32.0 touches the data grid or its control bar (checked against the 2026-11-17 nightly).
Activity