Skip to content

[Sirius][ClassDiagram] The odesign file must be valid

Bugzilla Link 580839
Status ASSIGNED
Importance P3 normal
Reported Sep 30, 2022 05:38 EDT
Modified Oct 03, 2022 10:25 EDT
Version 0.7.0
Depends on 580840
Blocks 578668
See also Gerrit change 195909

Description

The odesign file describing the UML Class Diagram must be validated by EMF Validation. We expect no error or warning in the file.
We should also provide JUnit tests to check this validation.

There are several kind of errors in the file:

  • several xxxLabelNode declared at the root of the Diagram (so a uml::Package) doesn't provide the feature to own them. -> we will create 'fake'containers to get a valid file :

Feature nestedClassifier not found in EClass Package papyrus_class.odesign
Feature ownedAttribute not found in EClass Package papyrus_class.odesign
Feature ownedLiteral not found in EClass Package papyrus_class.odesign
Feature ownedOperation not found in EClass Package papyrus_class.odesign
Feature ownedReception not found in EClass Package papyrus_class.odesign
Feature slot not found in EClass Package papyrus_class.odesign

  • 5 creations tools do nothing

-The Filter used for to show the Bendpoint also generates a validation error