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

Bug 288600

Summary: [Property View] Diagram does not reflect changes when editing multiplicity in PropertyView
Product: [Modeling] Papyrus Reporter: Raphael Faudou <raphael.faudou>
Component: CoreAssignee: Remi Schnekenburger <rschnekenburger>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: mvaawl
Version: 0.7.0Keywords: plan
Target Milestone: 0.7.0   
Hardware: PC   
OS: Windows XP   
Whiteboard: UML 2.x Diagrams

Description Raphael Faudou CLA 2009-09-04 03:07:20 EDT
I can edit multiplicites with upper = * through advanced tab peroperties but if fails with tabbed properties and a NPE appears
Comment 1 Thibault Landré CLA 2009-11-10 11:16:31 EST
Moreover it is not possible to edit the multiplicity of a property through the tabbed properties
Comment 2 Patrick Tessier CLA 2010-02-04 05:26:30 EST
This is a bug for the property view
Comment 3 Yann Tanguy CLA 2010-06-08 17:13:57 EDT
Multiplicity edition from direct edit is OK.
Multiplicity edition from PropertyView (new framework) modifies the model but the change is not reflected in active diagram.

No NPE thrown though.
Comment 4 Yann Tanguy CLA 2010-06-08 17:33:05 EDT
*** Bug 289568 has been marked as a duplicate of this bug. ***
Comment 5 Remi Schnekenburger CLA 2010-06-08 17:38:53 EDT
(In reply to comment #3)
> Multiplicity edition from direct edit is OK.
> Multiplicity edition from PropertyView (new framework) modifies the model but
> the change is not reflected in active diagram.
> 
> No NPE thrown though.

For the editing using the new framework: the class diagram  works fine, whereas
the composite diagram does not update correctly.

I have updated the multiplicity parser in r1853, so a value of [*] can be
parsed correctly.
Comment 6 Remi Schnekenburger CLA 2010-06-08 18:10:27 EDT
(In reply to comment #5)
> (In reply to comment #3)
> > Multiplicity edition from direct edit is OK.
> > Multiplicity edition from PropertyView (new framework) modifies the model but
> > the change is not reflected in active diagram.
> > 
> > No NPE thrown though.
> 
> For the editing using the new framework: the class diagram  works fine, whereas
> the composite diagram does not update correctly.
> 
> I have updated the multiplicity parser in r1853, so a value of [*] can be
> parsed correctly.

Bug fixed in r1854. Updated the PropertyLabelEditPolicies for both class and composite diagrams