Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-88316

"View in Context" link does not work for Web Content articles pending in Workflow

    Details

      Description

      Using the "View in Context" link under My Workflow Tasks for a pending article (with a configured display page) does not work if there are no approved versions of that article.

      Steps to reproduce:

      1. Add a new page, and add an Asset Publisher to it
      2. Configure the Asset Publisher, and under "Display Settings," set the Asset Publisher as the default Asset Publisher for the page, and save
      3. Navigate to Configuration -> Workflow for the site
      4. For Web Content, set the default Workflow to Single Approver and save
      5. Create a new Web Content article, while setting the display page for it to the page created in step 1 before submitting for publication
      6. Navigate to My Workflow Tasks (under user options) -> Assigned to My Role -> the task for the pending article
      7. Click on the eye icon to preview the article, then click the link to "View in Context"
        Expected result: a page loads with the Asset Publisher and the pending content displayed in it
        Actual result: an error is shown that reads: "The requested resource could not be found.
        http://localhost:8080/web/guest/-/t?p_p_id=com_liferay_portal_workflow_task_web_portlet_MyWorkflowTaskPortlet"

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                peyton.zhao Peyton Zhao (Inactive)
                Reporter:
                alec.shay Alec Shay
                Participants of an Issue:
                Recent user:
                Clarissa Velazquez
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  44 weeks ago

                  Packages

                  Version Package
                  7.0.0 DXP FP71
                  7.0.10.11 DXP SP11
                  7.0.X
                  7.1.10 DXP FP7
                  7.1.10.2 SP2
                  7.1.3 CE GA4
                  7.1.X
                  Master