Issue
-
Steps to Reproduce:
- Create a custom fragment with any type of configuration. (I've tested with "dataType": "int" and "type": "text"). Alternatively you can import the attached zip that includes a custom fragment.
- Create a page template and add the custom fragment to the page.
- Change the configuration of the custom fragment.
- Publish the page template.
- Export the page template.
- Unzip the exported page template and examine the page-definition.json file to see that the changed configuration was properly exported.
- Delete the page template just created through Liferay's UI.
- Import the exported page template.
- Click to edit the newly imported page template.
- Check to see if the custom fragment configuration displays the value you changed it to in step 3.
Expected Result:
- The custom fragment configuration should persist when imported.
Actual Result:
- The custom fragment configuration does not persist when imported.
Environment
- Liferay DXP 7.3
Resolution
- The observed behavior is a known bug and fixed in Liferay DXP 7.3 with Liferay-fix-pack-dxp-2 and above.
- Installing Fix Packs and Hotfixes on Liferay DXP will guide to install these Fixpack in your environment.