Uploaded image for project: 'Magnolia Workflow Module'
  1. Magnolia Workflow Module
  2. MGNLWORKFLOW-324

Preview page should show the version to be published not the current one

XMLWordPrintable

    • Yes
    • Basel 34
    • 3

      In the detail view of a page publication task, there is a action "preview page". This action, however shows the current version of the page, not the version that is going to be published. You really expect to see the version of the page to be published.

      Steps to reproduce

      1. Edit a page (see attachment 1).
      2. Publish the changed page.
      3. Edit the same page again, but don't publish it (see attachment 2).
      4. In the publication request sent through Pulse, click on "preview page" (see attachment 3).

      -> You'll get to see the page as edited in step 3, not the changes published in step 1 (see attachment 4).

      Solution

      PreviewPageAction does what it suppose to do, however, task object does not have a attribute called version in this context. I suggest to add the version attribute in PublicationTaskParameterResolver#setTaskContent, therefore PreviewPageAction can display the correct version of a given page.

        Acceptance criteria

              ilgun Ilgun Ilgun
              fuchs.florian Florian Fuchs
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 0.25d
                    0.25d