Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Content of diagrams not indexed #63

Open
debrecenics opened this issue Nov 11, 2020 · 0 comments · May be fixed by #64
Open

Content of diagrams not indexed #63

debrecenics opened this issue Nov 11, 2020 · 0 comments · May be fixed by #64
Labels
bug Something isn't working

Comments

@debrecenics
Copy link
Contributor

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) {

@debrecenics debrecenics added the bug Something isn't working label Nov 11, 2020
@debrecenics debrecenics linked a pull request Nov 12, 2020 that will close this issue
debrecenics added a commit that referenced this issue Nov 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant