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
Expression-type properties of pluggable widgets are silently dropped by exec in CREATE OR MODIFY PAGE #2050
When a CREATE OR MODIFY PAGE statement includes an expression-type property (e.g. Placeholder) on a pluggable widget, mxcli check accepts the property with exit 0 and no warnings. However, mxcli exec applies the script successfully (exit 0, no warnings) but silently drops the property — it is not written to the .mpr model.
The issue was first observed on the Placeholder property of the entitypicker pluggable widget, but the root cause is likely the handling of expression-type properties in pluggable widget descriptors during CREATE OR MODIFY PAGE execution.
Steps to reproduce:
Write a CREATE OR MODIFY PAGE script with a pluggable widget that includes an expression-type property (e.g. Placeholder: '$currentObject/AttributeName' on an entitypicker)
mxcli check → exits 0, no warnings, property accepted as valid syntax
mxcli exec → exits 0, Created/Altered page ..., no warnings
mxcli -c "DESCRIBE PAGE Module.Page" → property is absent from the widget output
Runtime: the widget behaves as if the property was never set
Expected: property written to the model and readable via DESCRIBE.
Actual: property silently absent after exec. No error or warning at check, exec, lint, or mxbuild.
Workaround:
Apply the property after exec via ALTER PAGE SET:
mdl
mdl 1;
ALTER PAGE "Module"."PageName" {
SET (Placeholder: '$currentObject/AttributeName') ON "epWidgetName";
};
Confirmed: ALTER PAGE SET correctly persists expression-type properties (idempotent, second exec returns Unchanged).
Activity