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

Portlet's Look and Feel generates incorrect portletResource

    Details

      Description

      Issue
      Getting incorrect portletResource value in view.jsp of the PortletConfigurationCSSPortlet

      Path to view. jsp = ..\modules\apps\web-experience\portlet-configuration\portlet-configuration-css-web\src\main\resources\META-INF\resources\view.jsp

      Steps to reproduce

      1. Add a header to print portletResource value in view.jsp or add sysout to print to console  :
         <h1> <%= portletResource %></h1>
      1. Add 2 portlets on the same layout 
        1. Documents and Media
        2. Asset Publisher
      1. Click on Documents and Media's > Configuration icon > Look and feel configuration 
        1. portletResource = com_liferay_document_library_web_portlet_DLPortlet_INSTANCE_RCrLTUQB9liQ 
      2. Without refreshing the page, Click on Asset Publisher's  > Configuration icon > Look and feel 
        1. portletResource = com_liferay_document_library_web_portlet_DLPortlet_INSTANCE_RCrLTUQB9liQ 
      3. Refresh the page, lick on Asset Publisher's  > Configuration icon > Look and feel 
        1. portletResource = com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet_INSTANCE_9qHAQsunc8tf 

      Actual results
      Value of portletResource is same for 2 different portlets on the same page, when layout is not refreshed (Step 3 and Step 4)
      e.g.In Step 4 : 

      Actual portletResource Expected portletResource
      #com_liferay_document_library_web_portlet_DLPortlet_INSTANCE_RCrLTUQB9liQ #com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet_INSTANCE_9qHAQsunc8tf

      Expected results
      In Step 3, the value of portletResource should be com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet_INSTANCE_9qHAQsunc8tf, same as in step4

        Attachments

        1. STEP2.png
          STEP2.png
          47 kB
        2. STEP3.png
          STEP3.png
          40 kB
        3. STEP-4.png
          STEP-4.png
          43 kB

          Activity

            People

            Assignee:
            jason.pince Jason Pince
            Reporter:
            prathima.shreenath Prathima Shreenath
            Participants of an Issue:
            Recent user:
            Marta Elicegui
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 21 weeks, 5 days ago

                Packages

                Version Package
                7.0.0 DXP FP33
                7.0.0 DXP SP7
                7.0.5 CE GA6
                7.0.X