Skip to content

Content of diagrams not indexed #63

Open

Description

@debrecenics

Environment

MD 19.0 but this seems to be the case in CSM 19sp2 as well
V4MD 2.3.0

To reproduce this

  1. create a diagram and add elements to it.
  2. write a query that collects DiagramRepresentationObject
  3. check that no elements are found by the query

Query Example

pattern representation(object) {
	AbstractDiagramRepresentationObject(object);
}

Possible issue

The UML Metamodel shows that diagrams contain AbstractDiagramRepresentation elements via its _representation feature which is marked as containment reference. However, this reference is filtered out during the indexing phase:

private static boolean isReferenceToBeFiltered(EReference reference) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions