Skip to content

The "Related Elements" view crashes when using dynamic instances (e.g. domain instances) #1716

@pcdavid

Description

@pcdavid
  1. Create a domain model with two entities Parent and Child, with a containment relationship beween them.
  2. In another project, create a instance of Parent, add a Child in it.
  3. Select the Parent.
  4. Open the "Related Elements" view in the right panel.

Exception while fetching data (/relatedElementsEvent) : The string resource '_UI_Parent_children_feature' could not be located

CurrentTreeProvider.getContainmentReferenceLabel(EObject, EReference) (and maybe other providers) do some EMF.Edit-specific magic to get the label of the containment feature which breaks for domain instances.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions