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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.5.2
    • Component/s: None
    • Release notes required:
      Yes
    • Sprint:
      Basel 34
    • Story Points:
      3

      Description

      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.

        Checklists

        Acceptance criteria

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Date of First Response:

                    Checklists

                    Bug DoR
                    DoD

                      Time Tracking

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