Community
Participate
Working Groups
Build Identifier: 20110301-1815 The VSL-Editor has problems with stereotypes that contain properties with Multiplicity 0..* that are typed by a datatype that is a MARTE-TupleType. Reproducible: Always Steps to Reproduce: 1) Create a papyrus profile model that applies MARTE. Add a DataType "D1" with Stereotype "MARTE::MARTE_Annexes::VSL::DataTypes::TupleType" and add 2 propterties of some type (e.g. integer) to the DataType. Add a second DataType "D2". Add a property "Property_D1" of type D1 to D2. Set Multiplicity "0..*" to this property. Add a property "Property_int" of type primitive Integer to D2. Set Multiplicity "0..*" to this property. Create a stereotype that generalizes "D2" and extends metaclass "Class". Then save the profile. 2) Now, create a normal papyrus UML model and apply the newly created profile. Create a class in a diagram and apply the stereotype of the new profile to it. Open the VSL-Editor by clicking "Open textual editor for stereotype applications" in the contextmenu of the class. Now add property "Property_int" by <ctrl>+<space> and define it, all works fine. Now instead, add property "Property_D1" and try to define it. There appears an error message on both encapsulated data-types: Error-Message: Multiple markers at this line - Couldn't resolve reference to Property 'Property0' - Property null is not typed.
Papyrus version: 0.7.4.v201106042008
Created attachment 201398 [details] Screenshot
Fixed in revision 5311 (for the moment in the 0.7.x branch only). Arnaud: can you please check if the modification (in VSLScopeProvider has eventual side effects on other functions.