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.
- Edit a page (see attachment 1).
- Publish the changed page.
- Edit the same page again, but don't publish it (see attachment 2).
- 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).
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.