Summary
ALTER PAGE SET Title and SET Label (on input widgets) return Altered page but the change is not saved. The next DESCRIBE PAGE still shows the original value.
Environment
- mxcli version: current
- Mendix version: 10.24.15
Steps to Reproduce
# Set page title
./mxcli -p MyProject.mpr -c "ALTER PAGE Mod.MyPage { SET Title = 'New title' };"
# Output: Altered page Mod.MyPage ← appears successful
# Verify
./mxcli -p MyProject.mpr -c "DESCRIBE PAGE Mod.MyPage"
# Output still shows: Title: 'Old title'
# Same behaviour for widget labels
./mxcli -p MyProject.mpr -c "ALTER PAGE Mod.MyPage { SET Label = 'New label' ON textBox1 };"
# Output: Altered page Mod.MyPage
# DESCRIBE still shows: Label: 'Old label'
Expected Behaviour
The title / label is updated in the model, or mxcli returns an error explaining why it cannot be changed.
Actual Behaviour
The operation reports success but the model is unchanged. No error, no warning.
Root Cause (suspected)
Mendix stores page titles and widget labels as TranslatableString internally. mxcli likely writes to a slot that does not match the language-specific storage format, so the value is discarded on serialisation.
Workaround
Edit the title or label manually in Studio Pro.
Severity
Medium — silent failure is misleading; the change appears to have been applied but wasn't.
Summary
ALTER PAGE SET TitleandSET Label(on input widgets) returnAltered pagebut the change is not saved. The nextDESCRIBE PAGEstill shows the original value.Environment
Steps to Reproduce
Expected Behaviour
The title / label is updated in the model, or mxcli returns an error explaining why it cannot be changed.
Actual Behaviour
The operation reports success but the model is unchanged. No error, no warning.
Root Cause (suspected)
Mendix stores page titles and widget labels as
TranslatableStringinternally. mxcli likely writes to a slot that does not match the language-specific storage format, so the value is discarded on serialisation.Workaround
Edit the title or label manually in Studio Pro.
Severity
Medium — silent failure is misleading; the change appears to have been applied but wasn't.