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

Stunner - Users and Groups reversed in resulted file for Reassignment property

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • 7.43.1.Final
    • Designer
    • False
    • False
    • NEW
    • NEW
    • Undefined
    • Hide
      1. Create Start->User Task->End process
      2. Set up reassignment property: User=UserName and Group=GroupName
      3. Save process and download resulted XML

      Actual Result

      UserName saved as groups and GroupName saved as users property.

      Expected Result

      UserName will be saved as user and GroupName will be saved as groups property.

      Show
      Create Start->User Task->End process Set up reassignment property: User=UserName and Group=GroupName Save process and download resulted XML Actual Result UserName saved as groups and GroupName saved as users property. Expected Result UserName will be saved as user and GroupName will be saved as groups property.
    • ---
    • ---
    • 2020 Week 40-42 (from Sep 28), 2020 Week 43-45 (from Okt 19)

      When I set up a Reassignment property in the designer, Users and groups are reversed in the resulted XML:

      Resulted XML:

            <bpmn2:dataInputAssociation id="_cKo9SA7VEeu1KqH0RL850g">
              <bpmn2:targetRef>_53C7B9BE-3C30-465A-A67B-2F3769A2F0C0_NotCompletedReassignInputX</bpmn2:targetRef>
              <bpmn2:assignment id="_cKo9SQ7VEeu1KqH0RL850g">
                <bpmn2:from xsi:type="bpmn2:tFormalExpression" id="_cKo9Sg7VEeu1KqH0RL850g"><![CDATA[[users:GroupName|groups:UserName]@[1m]]]></bpmn2:from>
                <bpmn2:to xsi:type="bpmn2:tFormalExpression" id="_cKo9Sw7VEeu1KqH0RL850g">_53C7B9BE-3C30-465A-A67B-2F3769A2F0C0_NotCompletedReassignInputX</bpmn2:to>
              </bpmn2:assignment>
            </bpmn2:dataInputAssociation>
      

      After save and reload values are displayed correctly: users in user field and groups in group field.

        1. image-2020-10-15-12-58-43-630.png
          16 kB
          Kirill Gaevskii
        2. image-2020-10-15-12-58-55-253.png
          11 kB
          Kirill Gaevskii
        3. screenshot-1.png
          70 kB
          Kirill Gaevskii

              kgaevski@redhat.com Kirill Gaevskii
              kgaevski@redhat.com Kirill Gaevskii
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: