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

Bug 361643

Summary: [StateMachine Diagram] Display of Guards doesn't work.
Product: [Modeling] Papyrus Reporter: David Rabely <david.rabely>
Component: CoreAssignee: Project Inbox <mdt-papyrus-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P4 CC: arthur.daussy, klaas.gadeyne, raphael.faudou
Version: 0.8.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Image of the guard bug on a state machine diagram
none
Patch to correct
none
mylyn/context/zip
none
Better implementation none

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