Skip to content

GRANT on a System.Image specialization writes a member access for the non-existent System.Thumbnail_Image (CE1613) #972

Description

@Chendodelangen

GRANT on a System.Image specialization writes a member access for the non-existent System.Thumbnail_Image (CE1613)

Steps to reproduce

CREATE PERSISTENT ENTITY MyModule.CaseImage EXTENDS System.Image ("ImageNumber": Integer);
GRANT MyModule.SomeRole ON MyModule.CaseImage (READ ("ImageNumber"));

Then run Studio Pro's consistency check (or mx.exe check).

Expected

An access rule containing exactly the named members (plus whatever inherited members the platform requires), all of which exist in the project's Mendix version.

Actual

Two errors per rule set:

[error] [CE1613] "The selected association 'System.Thumbnail_Image' no longer exists." at Access rule of entity 'NCRManagement.CaseImage'

System.Thumbnail_Image does not exist in Mendix 11; the writer appears to expand inherited System.Image members from a hardcoded/system-model list that still contains it. mxcli describe entity renders the rule without the broken member, so the damage is invisible from mxcli's own surface, and REVOKE <role> ON <entity> followed by a fresh GRANT reproduces it. Confirmed on a freshly created entity after DROP ENTITY as well.

Workaround

Leave System.Image specializations without MDL-written access rules and add the rules by hand in Studio Pro.

  • Diagnostic bundle: available, mxcli-diag-20260827-184627.tar.gz

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