Uploaded image for project: 'Publication Workflow Application'
  1. Publication Workflow Application
  2. XAWORKFLOW-122

Target field is not updated if a workflow draft page is moved/renamed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.4.5, 2.4.6
    • 2.4.3
    • None
    • Unknown

    Description

      Instead the "target" in the PublicationWorkflow.PublicationWorkflowClass still point to the old location.

      That is of course the correct behavior for workflows, where the target page should not be moved, just because the draft page is moved.
      However for the options "moveTarget" and "moveAll" of the moveStrategy field, the target field in the object should be updated, or after the next publication the new version will be created in the old location, while the target is actually present in the new location.

      To Reproduce:

      • create workflow config with e.g. "moveAll" aka "Regardless of the type of document being moved, move its equivalent document(s)"
      • create a draft e.g. in Drafts.A.WebHome
      • publish the page to e.g. Published.A.WebHome
      • rename Drafts.A.WebHome to Drafts.B.WebHome

      Expected behavior:

      • Published.A.WebHome is renamed to Published.B.WebHome
      • the "target" field in Drafts.B.WebHome contains the value Published.B.WebHome

      Observed behavior

      • Published.A.WebHome is indeed renamed to Published.B.WebHome
      • however the "target" field in Drafts.B.WebHome contains the value Published.A.WebHome, as visible in the object editor
      • interestingly Published.B.WebHome does have the value "target" as Published.B.WebHome

      Attachments

        Activity

          People

            acotiuga Alex Cotiugă
            camil7 Clemens Robbenhaar
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: