Skip to content

check accepts CALL MICROFLOW System.ShowHomePage as a widget action but exec refuses it; no client action for Show home page #1940

Backlog

Description

@GlennCorvers

Description

Since #1857, check --references accepts System.ShowHomePage. But for a widget action, exec still refuses it, so a script that check passes fails at exec. DESCRIBE prints exactly this action for a widget whose on-click event is Studio Pro's "Show home page", so the description does not round-trip. MDL also has no client action for "Show home page" (mxcli syntax page action lists none), so there is no other way to write it.

Steps to reproduce

mdl 1;
CREATE SNIPPET MyFirstModule.SNIP_ReproHome {
  ACTIONBUTTON btnHome (Caption: 'Home', Action: CALL MICROFLOW System.ShowHomePage)
};
mxcli check probe.mdl -p <app>.mpr --references
mxcli exec  probe.mdl -p <app>.mpr

Round trip: in a project with a static image whose on-click is "Show home page", DESCRIBE SNIPPET prints staticimage image1 (..., Action: call microflow System.ShowHomePage, ...).

Expected

Either exec writes the built-in Show home page action for CALL MICROFLOW System.ShowHomePage (as DESCRIBE prints it), or MDL gets a client action such as Action: SHOW HOME PAGE that DESCRIBE prints and exec writes. In both cases check and exec should agree.

Actual

mxcli check: "Check passed!". exec:

Error: failed to build snippet: failed to build widget: failed to build action: failed to resolve microflow: microflow not found: System.ShowHomePage

Action: SHOW HOME PAGE is a syntax error ("extraneous input 'home'").

Version

  • mxcli: v0.33.0 (2026-11-22T15:42:43Z); v0.33.1 and the nightlies not tried
  • Mendix version of the app: 11.12.4
  • OS: Windows 11

Activity

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