-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.0 DXP FP27, 7.0.X
-
Fix Version/s: 7.0.0 DXP FP33, 7.0.0 DXP SP7, 7.0.5 CE GA6, 7.0.X
-
Component/s: ~[Archived] Widget configuration
-
Branch Version/s:7.0.x
-
Backported to Branch:Committed
-
Fix Priority:3
-
Git Pull Request:
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
- Add a header to print portletResource value in view.jsp or add sysout to print to console :
<h1> <%= portletResource %></h1>
- Add 2 portlets on the same layout
-
- Documents and Media
- Asset Publisher
- Click on Documents and Media's > Configuration icon > Look and feel configuration
- Without refreshing the page, Click on Asset Publisher's > Configuration icon > Look and feel
- Refresh the page, lick on Asset Publisher's > Configuration icon > Look and feel
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