Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-21280

Error when duplicating processes with more than two sub-processes deep

    Details

      Description

      As a modeller I expect to be able to duplicate a process definition and it will duplicate all embedded entities within the process.

      Bug: This only currently works when processes/forms exist 1 level deep.

      Working Scenario 1:

      1. Define process A with a sub-process A1. Save it.
      2. Duplicate process A using the duplicate button to be 'process B'.
      3. Modify the child process A1 of 'process B' and save.
      4. You should see the child process A1 is only modified in process B. If you look at the child process A1A of process A it is still the same as was defined in step 1.

      Issue in Scenario 2:

      Current behaviour:

      1. Define process A with a sub-process A1 with a sub-process A1A. Save it.
      2. Duplicate process A using the duplicate button to be 'process B'.
      3. Modify the child process A1A of 'process B' and save.
      4. You should see the child process A1A is modified in process B and A1A of process A has been modified as they point to the same sub-process rather than a duplicate..

      Expected behaviour:

      1. Define process A with a sub-process A1 with a sub-process A1A. Save it.
      2. Duplicate process A using the duplicate button to be 'process B'.
      3. Modify the child process A1A of 'process B' and save.
      4. You should see the child process A1A is only modified in process B. If you look at the child process A1A of process A it is still the same as was defined in step 1.

       
       
      Note: This applies when it relates to embedded sub-processes/forms/etc..

      reusable sub-processes/forms/etc. should remain pointing at the original reusable object.

      This correction/change in behaviour will need to be called out in the release notes.

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  closedbugs Closed Bugs
                  Reporter:
                  mhowarth Mark Howarth
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Structure Helper Panel