Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 361643 - [StateMachine Diagram] Display of Guards doesn't work.
Summary: [StateMachine Diagram] Display of Guards doesn't work.
Status: CLOSED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.8.1   Edit
Hardware: PC Windows XP
: P4 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 361368 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-10-21 08:31 EDT by David Rabely CLA
Modified: 2011-11-16 18:28 EST (History)
3 users (show)

See Also:


Attachments
Image of the guard bug on a state machine diagram (41.33 KB, image/jpeg)
2011-10-21 08:33 EDT, David Rabely CLA
no flags Details
Patch to correct (10.80 KB, patch)
2011-11-10 08:21 EST, Arthur Daussy CLA
no flags Details | Diff
mylyn/context/zip (46.95 KB, application/octet-stream)
2011-11-10 08:22 EST, Arthur Daussy CLA
no flags Details
Better implementation (13.29 KB, patch)
2011-11-10 09:57 EST, Arthur Daussy CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Rabely CLA 2011-10-21 08:31:03 EDT
Build Identifier: M20110909-1335

Guards are not displayed as it should be in a transition between two states. You just can see this : [""]

Reproducible: Always

Steps to Reproduce:
1.Create A guarg on a transition between 2 states
2.Edit an opaque Expression on a constraint
3.See the result on the Stm diagram
Comment 1 David Rabely CLA 2011-10-21 08:33:25 EDT
Created attachment 205715 [details]
Image of the guard bug on a state machine diagram

Image of the guard bug on a state machine diagram
Comment 2 Raphael Faudou CLA 2011-11-07 12:31:11 EST
increased importance as there are now several tool evalutions that need to display guards on transitions and such a bad display affects Papyrus image.
Comment 3 Arthur Daussy CLA 2011-11-09 12:52:30 EST
Fixed on the on the branch 0.8.X

Will be commit on the trunk as soon as possible
Comment 4 Arthur Daussy CLA 2011-11-09 12:53:03 EST
Has to be verified before closing
Comment 5 Arthur Daussy CLA 2011-11-10 03:29:16 EST
Error not corrected still in progress.
Comment 6 Arthur Daussy CLA 2011-11-10 08:21:36 EST
Created attachment 206784 [details]
Patch to correct

Waiting for validation from dev list. Because this modification remove some useless class
Comment 7 Arthur Daussy CLA 2011-11-10 08:22:25 EST
Created attachment 206785 [details]
mylyn/context/zip
Comment 8 Arthur Daussy CLA 2011-11-10 09:57:52 EST
Created attachment 206787 [details]
Better implementation

This a better implementation
Comment 9 Klaas Gadeyne CLA 2011-11-10 10:02:37 EST
Hi,

It seems like you found the bug 2 days later than I ;-)  See <https://bugs.eclipse.org/bugs/show_bug.cgi?id=361368>  
So I guess you can make bug #381368 a duplicate of this one (or vice versa) and close it if you close this one.

Note that it does work if you create a spec in "Natural language".
Comment 10 Arthur Daussy CLA 2011-11-10 10:22:47 EST
Has been committed on the 0.8.X branch.
Has to be checked by reporter.
Comment 11 Arthur Daussy CLA 2011-11-10 10:23:27 EST
*** Bug 361368 has been marked as a duplicate of this bug. ***
Comment 12 Raphael Faudou CLA 2011-11-16 18:24:09 EST
verified->OK  -> closed