Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BPMN 2.0 Modeler » Missing name attribute in dataInput tag
Missing name attribute in dataInput tag [message #1000864] Tue, 15 January 2013 15:08 Go to next message
Stefano Rocca is currently offline Stefano RoccaFriend
Messages: 2
Registered: July 2009
Junior Member
Hi,
I've opened the file Evaluation2.bpmn (found in jbpm-examples) using BPMN 2.0 Modeler (0.2.1). After saving the file, all the dataInput tags were missing the name attribute.

Evaluation2.bpmn:

    <userTask id="_2" name="Self Evaluation" >
      <ioSpecification>
        <dataInput id="_2_reasonInput" name="reason" />
        <dataInput id="_2_CommentInput" name="Comment" />
        <dataInput id="_2_SkippableInput" name="Skippable" />
        <dataInput id="_2_TaskNameInput" name="TaskName" />


Evaluation2.bpmn after saving:

    <userTask id="_2" name="Self Evaluation">
      <incoming>_1-_2</incoming>
      <outgoing>_2-_5</outgoing>
      <ioSpecification id="InputOutputSpecification_1">
        <dataInput id="_2_reasonInput"/>
        <dataInput id="_2_CommentInput"/>
        <dataInput id="_2_SkippableInput"/>
        <dataInput id="_2_TaskNameInput"/>


Furthermore, I tried setting the name attribute and the id attribute of the dataInput tag using the properties editor, but the name attribute is not retained after saving and reopening the file.
This seem to be is a problem when working with jbpm 5.4, because I found out that (for example) the task name is no longer retrieved at runtime when the name attribute is missing.

Thanks in advance.

Stefano
Re: Missing name attribute in dataInput tag [message #1002797 is a reply to message #1000864] Sat, 19 January 2013 13:00 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 625
Registered: August 2010
Location: Colorado Springs, CO
Senior Member

This looks like a regression. Some elements in the jBPM5 subset (e.g. properties) surface the ID attribute instead of the name to the UI, so I've had to jump through hoops to ensure the names and IDs are synchronized. I need to go through the list of these elements again to make sure there aren't any other cases like this.

Can you please file a bug report here: https://bugs.eclipse.org/bugs/enter_bug.cgi?product=BPMN2Modeler

Should have this fixed by the next service release at the end of the month.

Thanks for testing!
Bob
Re: Missing name attribute in dataInput tag [message #1003186 is a reply to message #1002797] Sun, 20 January 2013 14:26 Go to previous message
Stefano Rocca is currently offline Stefano RoccaFriend
Messages: 2
Registered: July 2009
Junior Member
Hi Robert!
Here it is:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=398591

Thanks in advance,
Stefano
Previous Topic:Message Flow connection rules
Next Topic:Message Flow Connection rules and Task's attributes
Goto Forum:
  


Current Time: Fri Dec 19 08:09:24 GMT 2014

Powered by FUDForum. Page generated in 0.04233 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software