Issue
- Upgraded the Liferay from DXP 7.4 update 31 to the latest release (DXP 2024.Q2 is the latest one at the time of writing this article), the blueprint is not visible on the pages, which was configured in the previous update.
-
Steps to reproduce:
- Start DXP 7.4 update 31
- Navigate to Application Menu > Application > Search Experience > Blueprints > click on the '+' button, create a few blueprints, and save them.
- Navigate to Site Builder > Pages > click on the '+' button and create the widgets pages.
- After the Widget pages are created, configure the 'Blueprints Option' widget and add the blueprints to all the widget pages.
- After performing the above steps, delete one of the blueprints.
- Upgrade this update to the latest one (This testing was completed with Update 31 to DXP 2023.Q4.4).
- Start the Liferay server and perform the reindexing.
- Note that all 'Widget Pages' are visible with the "Blueprints Options" widget but, the blueprints are not visible in the 'Blueprints Option' that has been added in the previous DXP update 31.
Observed Behavior: The Blueprints are not visible on the pages after the upgrade.
Expected Behavior: The Blueprints should be visible on the pages after the upgrade.
Environment
- Liferay DXP 2023.Q4.4
- Liferay DXP 2024.Q2.0
Resolution
- Once the Liferay upgrade was completed, the ‘name’ and ‘smallValue' columns of the ‘PortletPreferenceValue’ table, the data changed from ‘sxpBlueprintId’ to ‘sxpBlueprintExternalReferenceCode’ according to the 'SXPBlueprint Options portlet upgrade process’.
- In this case, the values didn't change, it showed the same ‘sxpBlueprintId' instead of showing ‘sxpBlueprintExternalReferenceCode’.
- The observed behavior is a known bug that has been addressed by: LPD-30441
Additional Information
- If 'SXPBlueprint Options portlet upgrade process' github link is not accessible, kindly check: Liferay DXP Source Code Access
- If a hotfix is required or any more information on this, please create a support ticket requesting a hotfix by attaching patch details.
- Installing Fix Packs and Hotfixes on Liferay DXP will guide you to install this hotfix in the respective environment.