Skip to content

Datasource-typed pluggable-widget property passes 'check' but is silently dropped at 'exec' (CE0642) #643

@marclehane-creator

Description

@marclehane-creator

mxcli version: v0.11.0 (2026-05-21) · OS: Windows 11 · Mendix project: runtime 11.10.0 · Combo Box widget com.mendix.widget.web.combobox.Combobox installed + mxcli widget init run

Summary

A datasource-typed property on a PLUGGABLEWIDGET is accepted by mxcli check (even with -p against the project's real widget defs) and applied by mxcli exec without error, but is not persistedmx check then reports the property as missing. Concretely, an association Combo Box (the Mendix 11 replacement for the Reference Selector) cannot be authored for a child-context reference.

Setup

Association Administration.AccountPasswordData_Account (parent AccountPasswordData, child Account). The Combo Box pluggable is installed and mxcli widget init -p <App.mpr> has been run.

Minimal repro

Apply with mxcli exec -p <App.mpr> repro.mdl, then mx check:

create or modify page Administration.MxfCombo (
  Title: 'T', Layout: Atlas_Core.Atlas_Default,
  Params: { $Obj: Administration.AccountPasswordData }
) {
  dataview dv (DataSource: $Obj) {
    pluggablewidget 'com.mendix.widget.web.combobox.Combobox' cb (
      optionsSourceType: association,
      attributeAssociation: Administration.AccountPasswordData_Account,
      optionsSourceAssociationDataSource: Administration.Account,
      optionsSourceAssociationCaptionAttribute: Administration.Account.FullName
    )
  }
}

Expected

optionsSourceAssociationDataSource: Administration.Account is stored as the combo's options datasource and the widget validates.

Actual

  • mxcli check (incl. -p) → passes.
  • mxcli exec → applies cleanly, no error.
  • mx checkCE0642 "Property 'Entity' is required." at Combo box 'cb' — i.e. the datasource property was dropped, so the options source has no entity.

Related

optionsSourceAssociationCaptionType is rejected by check as an unknown property even with -p (it is a valid combo property that defaults to attribute), which suggests the derived widget-property surface for datasource/conditional properties is incomplete.

Impact

Child-context reference Combo Boxes (a DataView on the association's child, selecting the parent) cannot be authored — a common detail-form pattern. Parent-context combos (selecting the child) work, so the gap is specific to the datasource-typed property not being persisted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions