Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344857 - [class diagram] too restricted mutliplicity values in property view
Summary: [class diagram] too restricted mutliplicity values in property view
Status: CLOSED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.8.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Camille Letavernier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-05 12:02 EDT by Raphael Faudou CLA
Modified: 2012-01-28 15:15 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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