Skip to content

Intent-generated .edm ignores entity type in the EDM modeler — SETTING/PROJECTION/DEPENDENT entities all render in the default blue #6333

Description

@NicoleNG18

Describe the bug

Open any intent-generated .edm in the entity modeler: every entity paints in the default blue (PRIMARY), regardless of its Dirigible entity type. SETTING entities that should be grey render blue; PROJECTION entities (cross-model read-only references) that should be purple render blue; composition-child DEPENDENT entities render the default blue instead of their darker-blue shade. A hand-modeled .edm colors correctly.

To Reproduce

  1. In an intent project, author a SETTING entity (kind: setting), a composition child (a to-one relation with composition: true, → DEPENDENT), and — in a multi-model setup — a cross-model manyToOne (→ PROJECTION).
  2. Click Generate to produce .edm.
  3. Double-click the .edm to open the Entity Data Modeler.
  4. Observe every entity rendered in the same default blue; the setting entity is not grey, the projection entity is not purple, the dependent entity is not its darker-blue shade.

Expected behavior

An intent-generated .edm should color each entity by its type exactly like a hand-modeled one — SETTING grey, DEPENDENT darker blue, PROJECTION purple with purple property rows, PRIMARY blue — on first load, without needing to open and re-save each entity.

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