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

"View in Context" link does not work for Documents pending in Workflow

    Details

      Description

      Steps to Reproduce:

      1. Create a Documents and Media folder and enable the Single Approver workflow for it.
      2. Upload a document into that folder.
      3. Click on workflow notification received.
      4. Click on the eye button (View)
      5. Here, you can see a View In Context link at the bottom. Click on it.
        Expected result: View in Context link should only appear when there's a suitable context in which the asset can be displayed. (If the Documents and Media portlet has been added a page in the site, the View in Context link should display the document in that portlet.) When there is no suitable context, the View in Context link should not appear.
        Actual result: A Not Found error is displayed in red with the message "The requested resource could be found." And the URL to the resource which could not be found is displayed: http://localhost:8080/c/document_library/find_file_entry?p_l_id=20120&noSuchEntryRedirect=null&fileEntryId=37005&p_p_id=com_liferay_portal_workflow_task_web_portlet_MyWorkflowTaskPortlet

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  34 weeks, 3 days ago

                  Packages

                  Version Package
                  Master