Community
Participate
Working Groups
Build Identifier: 20110218-0911 I have a connection with an attached label. When I set the text in the gmfgraph it gets displayed in the editor. When I use an expression label mapping no text gets displayed. The ocl constraint I have is very simple just like 'hello'. When I enter an invalid expression like hello without ' I do not get an exception at runtime. This indicates that the expressions are not executed on connection creation. Reproducible: Always
The connection that contains the expression label has only the target feature set. Maybe this is why the bug is happening in may case.
Created attachment 199256 [details] Patch that places the VisualId of the edit part behind the parser Could not test it as I always get a out of memory exception when trying to generate a generator model in my target workspace. Maybe someone els can test it. The idea is to put the VisualID of the LabelEditPart that uses it behind its class name. This way more than one expression labels can be created for the same mapping.
Wrong Patch. The Patch was intended for Bug 331875... (In reply to comment #2) > Created attachment 199256 [details] > Patch that places the VisualId of the edit part behind the parser > Could not test it as I always get a out of memory exception when trying to > generate a generator model in my target workspace. Maybe someone els can test > it. > The idea is to put the VisualID of the LabelEditPart that uses it behind its > class name. This way more than one expression labels can be created for the > same mapping.
severity reduced, not critical -- user always can use the custom parser as a workaround.