Uploaded image for project: 'JOC - JobScheduler Operations Center'
  1. JOC - JobScheduler Operations Center
  2. JOC-1432

Renamed Objects should be deployed only if deletion of the old Object was successful

    XMLWordPrintable

Details

    Description

      Current Situation

      • We assume a Notice Board and a Workflow that contains an instruction referencing the Notice Board, for example ExpectNotices. Both Notice Board and Workflow are deployed.
      • The Notice Board is renamed
        • the reference to the Notice Board is automatically updated in the Notice Board instruction of the Workflow
        • both Workflow and Notice Board objects are marked as "not deployed".
      • An attempt is made to deploy the Notice Board
        • due to the rename operation the Notice Board with the old name will be deleted at the controller and will be added with the new name
        • Deletion of the Notice Board with the old name fails with the error message:
          Item 'Board:<old-name>' is still referenced by 'Workflow:xxx~e23e375b-48e7-4ff3-8420-53062930b989'
          

          However, addition of the Notice Board with the new name will be successful.

      • Starting from this point in time the Controller knows two Notice Boards (old and new name), but in the inventory there is only one Notice Board with the new name.
        • How to delete the Notice Board with the old name?

      Desired Behavior

      When a renamed object is deployed, then the object with the old name is deleted at the Controller and is added with its new name.

      Addition of Notice Boards must be performed only if previous deletion was successful.

      Attachments

        Issue Links

          Activity

            People

              sp Santiago Aucejo Petzoldt
              oh Oliver Haufe
              Kanika Agrawal Kanika Agrawal
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: