Skip to content

Quoted attribute segment in DynamicClasses is still stored with its quotes (CE0117) — follow-up to #1481 #1584

Open

Description

@jopterhorst

Summary

Follow-up to #1481. On the nightly, a quoted attribute segment in a text's ContentParams or a container's Visible is now stripped correctly. In a widget's DynamicClasses expression it is still stored with its quotes, so mxbuild fails with CE0117 while check passes.

Repro

mdl 1;
create or modify page Mod.Child_Detail (
  Title: 'Child',
  Layout: Atlas_Core.Atlas_Default,
  Params: ( $Child: Mod.Child )
) {
  dataview dvChild (DataSource: $Child) {
    dynamictext txtCode (Content: '{1}', ContentParams: ({1} = if $currentObject/"Code" = empty then '-' else $currentObject/"Code"), DynamicClasses: if $currentObject/"Code" = empty then 'x' else '')
    container ctnVis (Visible: $currentObject/"Code" != empty) {
      dynamictext txtName (Content: '{1}', ContentParams: ({1} = "Name"))
    }
  }
};

check reports Check passed!, and exec creates the page. describe page then prints:

      ContentParams: ({1} = if $currentObject/Code = empty then '-' else $currentObject/Code),
      DynamicClasses: if $currentObject/"Code" = empty then 'x' else ''
    container ctnVis (Visible: $currentObject/Code != empty) {

mx check reports [CE0117] "Error(s) in expression." at Text 'txtCode'.

Expected

Quotes are stripped in DynamicClasses, as in every other expression slot.

Workaround

Write attribute names unquoted inside page expressions.

Tested with: mxcli nightly-20261018-80b1b8d0d (also seen on v0.26.0), Mendix 11.12.5, macOS arm64.

Activity

  1. github-actions commented on Oct 19, 2026

    @github-actions

    Issue Triage

    Summary:
    Quoted attribute segments in a widget’s DynamicClasses expression retain their quotes after processing, causing mx check to fail with CE0117 while other expression slots correctly strip the quotes.

    Checklist (bug report)

    Required info Present? Details
    mxcli version ✅ nightly-20261018-80b1b8d0d (also seen on v0.26.0)
    Mendix version ✅ 11.12.5
    Scenario (what was tried) ✅ MDL script, mx check, mx exec, mx describe page
    Expected output ✅ Quotes stripped in DynamicClasses like other expression slots
    Experienced output ✅ mx check reports [CE0117] Error(s) in expression.; describe page shows quotes still present
    AI bug report (session log or mxcli diag --bundle) ❌ Not provided

    Missing information:
    Please provide the session log or the output of mxcli diag --bundle for the failing run so we can investigate the exact processing steps.

    Thank you for the detailed reproduction steps! Once we have the diagnostic log, we’ll be able to look into why the quotes aren’t being stripped in DynamicClasses.


    Automated triage via OpenRouter — workflow source

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions