Uploaded image for project: 'PUBLIC - Liferay Commerce'
  1. PUBLIC - Liferay Commerce
  2. COMMERCE-9231

"View in Context" link does not work for Commerce product pending in Workflow

Details

    Description

      Issue
      "View in Context" link does not work for Commerce product pending in Workflow

      Steps to reproduce
      Environment: 7.4 u19

      1. Start server, sign in as Test
      2. Go to: Applications > [Workflow] Process Builder > Configuration Tab > Locate: 'Commerce Product' set it to 'Single Approver' > Press: Save
      3. Go to: Commerce > Products > Click: '+' to create a new simple product >

      *Name: testProduct
      Catalog: master
      Press: Submit

      4. Click the avatar icon > Notifications > Click: the workflow notification (image 02)
      5. Click the eye icon > Click: View in Context link (image 03)

      Expected result
      View in Context link should only appear when there's a suitable context. Otherwise the 'View in Context' link should not appear.

      Actual result
      Clicking 'View in Context' link leads to a 'Not Found' error (image 04)

      Not Found
      The requested resource could not be found.
      
      http://localhost:8080/group/control_panel/p/testproduct?p_p_id=com_liferay_portal_workflow_task_web_portlet_MyWorkflowTaskPortlet
      

      Reproduced in

      • Liferay Digital Experience Platform 7.4.13 Update 19 (Cavanaugh / Build 7413 / April 8, 2022)

      Attachments

        Activity

          People

            brian.chan Brian Chan
            il.kim Brian I. Kim
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Packages

                Version Package
                7.4.X
                7.4 DXP U32