Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-4370

Incorrect XML generated for nodes with input/output/process variable mapping of the same name

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • jBPM 6.0.1.Final
    • Designer

    Description

      I have created a process with one process variable, an object named "test".
      This process definition has a node with one variable specified in the data input set, an object named "test". This node also has one variable specified in the data output set, an object named "test".

      If I map the process variable "test" to the data input variable "test", and the data output variable "test" to the process variable "test" the following XML is generated:

      <bpmn2:task xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" id="_CC51CC97-492B-47E9-A295-880606DAD798" drools:selectable="true" xmlns:drools="http://www.jboss.org/drools" name="">
            <bpmn2:ioSpecification id="_FptzE_fjEeOHn6rAYYb7Sg">
              <bpmn2:dataInput id="_CC51CC97-492B-47E9-A295-880606DAD798_testInputX" drools:dtype="Object" itemSubjectRef="__CC51CC97-492B-47E9-A295-880606DAD798_testInputXItem" name="test"/>
              <bpmn2:dataOutput id="_CC51CC97-492B-47E9-A295-880606DAD798_testOutputX" drools:dtype="Object" itemSubjectRef="__CC51CC97-492B-47E9-A295-880606DAD798_testOutputXItem" name="test"/>
              <bpmn2:inputSet id="_FptzFPfjEeOHn6rAYYb7Sg">
                <bpmn2:dataInputRefs>_CC51CC97-492B-47E9-A295-880606DAD798_testInputX</bpmn2:dataInputRefs>
              </bpmn2:inputSet>
              <bpmn2:outputSet id="_FptzFffjEeOHn6rAYYb7Sg">
                <bpmn2:dataOutputRefs>_CC51CC97-492B-47E9-A295-880606DAD798_testOutputX</bpmn2:dataOutputRefs>
              </bpmn2:outputSet>
            </bpmn2:ioSpecification>
            <bpmn2:dataOutputAssociation id="_FptzFvfjEeOHn6rAYYb7Sg">
              <bpmn2:sourceRef>_CC51CC97-492B-47E9-A295-880606DAD798_testOutputX</bpmn2:sourceRef>
              <bpmn2:targetRef>test</bpmn2:targetRef>
            </bpmn2:dataOutputAssociation>
            <bpmn2:dataOutputAssociation id="_FptzF_fjEeOHn6rAYYb7Sg">
              <bpmn2:sourceRef>_CC51CC97-492B-47E9-A295-880606DAD798_testOutputX</bpmn2:sourceRef>
              <bpmn2:targetRef>test</bpmn2:targetRef>
            </bpmn2:dataOutputAssociation>
          </bpmn2:task>
      

      Note: there are two dataoutputassociations and no datainputassociations. I cannot use the object bound to the variable "test" in that node.

      Attachments

        Activity

          People

            rhn-support-tsurdilo Tihomir Surdilovic (Inactive)
            selrahal Salem Elrahal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: