Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 344857

Summary: [class diagram] too restricted mutliplicity values in property view
Product: [Modeling] Papyrus Reporter: Raphael Faudou <raphael.faudou>
Component: CoreAssignee: Camille Letavernier <cletavernier>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.8.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Raphael Faudou CLA 2011-05-05 12:02:49 EDT
On an association, the only proposed values for multiplicity in the property view are 0..1, 0..*, 1..1, 1..* and it is not possible to modify those values and edit 2..2 for instance.
Workaround : select the association in the model explorer, go the member end and then switch to the "advanced" tab of property view to fill lower and upper bounds.
Comment 1 Camille Letavernier CLA 2011-07-13 05:15:49 EDT
Fixed on UML with r5032 (Branch 0.8.1) and r5033 (Trunk 0.9)

It is now possible to enter the following multiplicities :

- * (Equivalent to 0..*)
- n..m (With n <= m or m = *). e.g. : 5..5, 5..8, 5..*
- n (with n > 0). e.g. : 5, 12

The previous multiplicities are still available to selection (0..*, 1..*, 1 and 0..1)

TODO : 

- Currently, the SysML property view still relies on the previous version of multiplicities.
- Prevent the "0" or "0..0" multiplicities
Comment 2 Camille Letavernier CLA 2011-07-13 05:55:15 EDT
Fixed on r5034 (Branch 0.8.1) and r5035 (Trunk 0.9)
Comment 3 Raphael Faudou CLA 2012-01-28 15:15:38 EST
verified OK -> closed