Issue
- When a page contains multiple Asset Publishers, the browser's back button may not work as expected. Clicking the back button may require multiple clicks to return to the previous page.
Environment
- Liferay DXP 7.4 2024.Q2.0+
Resolution
- This is related to the implementation of LPSA-67721 - Selecting back when viewing an asset in the Asset publisher brings user to the top of the entry list, which changed the way the back button interacts with Asset Publishers.
- When the back button is pressed, instead of returning focus to the first asset displayed in the Asset Publisher, the focus remains on the visited asset. This is done using the
AssetEntryId
, which updates the url when the back button is pressed. For this reason, the behavior is as expected when configuring the Asset Publisher to ignore theAssetEntryId
. - To ensure the correct behavior, enable the Ignore option for
AssetEntryId
in the Communication tab of each Asset Publisher's configuration.