Community
Participate
Working Groups
DRepresentationDescriptorQuery provides a method isRepresentationReachable that checks that the representation is reachable. This was initially used to detect broken representation descriptors. However, when having Sirius set to create representation in dedicated resource (.srm file) if this query is used after the representation is deleted it throws an NPE (because the .srm resource is not there anymore).
New Gerrit change created: https://git.eclipse.org/r/163616
Gerrit change https://git.eclipse.org/r/163616 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=1bee5ed91975df1ce8f0f15fd82eccc0513a726f
Validation: with only sirius, I have only been able to reproduce the issue programmatically (see JUnit). Consider this bugzilla a technical issue, the full scenario will be validated elsewhere.
Available in Sirius 6.3.1 (part of Eclipse 2020-06). See https://wiki.eclipse.org/Sirius/6.3.1 for details on the release.