Summary
mxcli describe enumeration <Module.Enum> (and the equivalent DESCRIBE ENUMERATION MDL command) always prints an empty caption ('') for every enumeration value, even when Studio Pro shows a populated caption for that value in the enumeration editor.
Steps to reproduce
- In Studio Pro, create an enumeration with a few values and give each value a distinct, non-empty caption (visible in the enumeration editor's Caption column).
- Save the project.
- Run
mxcli -p project.mpr -c "DESCRIBE ENUMERATION Module.MyEnum".
Expected
Each value's caption is printed, e.g. MyValue 'My Readable Caption'.
Actual
Every value comes back with an empty caption: MyValue '', regardless of what's configured in Studio Pro.
Impact
Because DESCRIBE output is meant to be round-trippable MDL, re-executing it (e.g. to replicate or restore the enumeration) would silently wipe real captions and replace them with empty strings. It also misleads any analysis that relies on DESCRIBE/SHOW to determine whether captions exist — the enum incorrectly appears to have none at all.
Environment
- Confirmed on mxcli v0.18.0 and v0.22.0 (identical behavior on both)
- Windows
- Single-language project (only one language configured) — so this isn't a non-default-language lookup issue; the default/only language's caption isn't read either
SELECT * FROM CATALOG.ENUMERATIONS also doesn't expose caption text, so there's currently no mxcli-based way to verify a caption exists
Note
Possibly related to #970 (captions written via MDL always landing as en_US), but this is about reading existing captions, not writing them.
Summary
mxcli describe enumeration <Module.Enum>(and the equivalentDESCRIBE ENUMERATIONMDL command) always prints an empty caption ('') for every enumeration value, even when Studio Pro shows a populated caption for that value in the enumeration editor.Steps to reproduce
mxcli -p project.mpr -c "DESCRIBE ENUMERATION Module.MyEnum".Expected
Each value's caption is printed, e.g.
MyValue 'My Readable Caption'.Actual
Every value comes back with an empty caption:
MyValue '', regardless of what's configured in Studio Pro.Impact
Because DESCRIBE output is meant to be round-trippable MDL, re-executing it (e.g. to replicate or restore the enumeration) would silently wipe real captions and replace them with empty strings. It also misleads any analysis that relies on DESCRIBE/SHOW to determine whether captions exist — the enum incorrectly appears to have none at all.
Environment
SELECT * FROM CATALOG.ENUMERATIONSalso doesn't expose caption text, so there's currently no mxcli-based way to verify a caption existsNote
Possibly related to #970 (captions written via MDL always landing as en_US), but this is about reading existing captions, not writing them.