Issue
- When I filter categorized web content in a Collection Display Fragment the page URL includes a category filter value. If the page is republished without making any modifications, the category filter value changes. I would like to have the value unchanged when I republish the page without making any changes to it.
Reproduction Steps:
-
Set up DXP 7.4 with the latest update.
-
Go to Categorization --> Categories and create vocabulary and add to it a category.
-
Go to Content & Data --> Web Content, and add basic web content, then add the category to it.
-
Go to Site Builder --> Collections and add a collection (Dynamic or Manual) with Web Content Article as the Item Type and Basic Web Content as the Item Subtype.
-
Go to Site Builder --> Pages and add content (blank) page and add to it a collection display fragment, then map to it the created collection.
-
Add a collection filter fragment to the page, select the created collection as the Target Collection and Catefory as Filter, then in the Popup select the Vocabulary then click on "Select this level".
-
Publish the page.
-
View the page, select the category, and observe the URL.
Checkpoint: The URL looks like this: http://localhost:8080/testcoll?filter_category_33083=33018
-
Edit the page, publish it without making any modifications, and select the category again.
Actual Result: The value of the filter_category_xxxxx=aaaaa parameter is changed to filter_category_yyyyy=aaaaa
Expected Result: The value of the filter category should remain the same.
I am attaching a video illustration: filterCategory.mp4
Environment
- Liferay DXP 7.4
Resolution
- The current behavior is expected and is a limitation of the Product. A feature request is submitted to address this new feature https://liferay.atlassian.net/browse/LPS-196874. This will be handled by the Product Team. If you would like to inquire about the progress of the feature, please visit the following "Ask Liferay" link:
Additional Information