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
check accepts XPath with a qualified enumeration literal and with like; both fail the build with CE0161 #1686
mxcli check accepts an XPath constraint that mxbuild then rejects with CE0161 ("Error(s) in XPath constraint"):
an enumeration compared with its qualified literal (Status = Mod.ENUM_X.VALUE), and
like in an XPath (Name like 'A-%').
Both were found in a test file: check passes, and the failure only shows at the test build, where it fails the whole run (see the companion issue on mxcli test output).
Expected
check refuses (or warns on) both, with a hint to the valid form: Status = 'VALUE' and starts-with(Name, 'A-') / contains(...).
Reproduction
retrieve $L fromMod.Itemwhere Status =Mod.ENUM_X.VALUE and Name like'A-%';
mxcli check passes; the build reports CE0161.
Related: #1325 and #1466 (closed; other XPath shapes that passed check and failed with CE0161), #1515.
Environment
mxcli 0.28.0, Studio Pro 11.12.4, Windows 11. Found by the AppGen tooling (Ciphix) on a test app.
Activity