Delete action and command should use the RepresentationDescriptor instead of the Representation to avoid having descriptors that can't be deleted because of a broken reference to their representation.
This was already done on the master branch (see https://bugs.polarsys.org/show_bug.cgi?id=1956) but in a larger scope.
Steps to reproduce:
open the attached project
expand "representation per category" to see invalid representations (they are grayed)
select each of them and click delete on contextual menu
-> KO: the representation can not be deleted
Attachment: testCapellaInvalidRep1.2.2 (1).zip Jar file containing interfaces and classes needed to reproduce the problem
Delete action and command should use the RepresentationDescriptor instead of the Representation to avoid having descriptors that can't be deleted because of a broken reference to their representation. This was already done on the master branch (see https://bugs.polarsys.org/show_bug.cgi?id=1956) but in a larger scope.
Steps to reproduce:
ECLIPSE-554411
POLARSYS-2365
@smo
2019-01-29