Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.2.X, Master
-
7.3.x, 7.2.x, 7.1.x
-
Committed
-
4
-
Regression Bug
Description
Steps to reproduce
- Startup Liferay
- On the left-side menu, Navigate to Site(Liferay) > Design > Fragments
- Create a new Collection: test collection
- Navigate to Resources tab
- Add any image (e.g. test_image.png)
- Navigate to Fragments tab
- Add a fragment: test fragment
- In the HTML, add the following between the default div tags:
<img src="[resources:test_image.png]"/>
- Notice the image in the preview
- Click Publish
- In the HTML, add the following between the default div tags:
- Add a fragment: test fragment
- Navigate to Resources tab
- Create a new Collection: test collection
- Navigate to Site(Liferay) > Site Builder > Pages
- Add a new Public Page (Template - Blank): test content page
- Add the created: test fragment to the page
- Notice the fragment with the image is displayed
- Click Publish
- Add a new Public Page (Template - Blank): test content page
- Navigate to test content page
- Notice the image is displayed correctly
- Navigate to Site(Liferay) > Publishing > Export
- Export the page: test content page
- Click Export
- Download the exported lar file
- Shutdown Liferay
- Clean the Liferay bundle
- Delete the [$LIFERAY_HOME]/data folder
- Re-create your database if using an external database
- Startup Liferay
- Navigate to Site(Liferay) > Publishing > Import
- Import the previously exported lar file
- Navigate to the imported page: test content page
Expected result
The image is displayed correctly
Actual result
No image is displayed
Attachments
Issue Links
- is caused by
-
LPS-116999 Improve Staging/Export/Import performance
-
- Closed
-
- is related to
-
LPS-123485 Content Page/Staging: Live image still references staging site's DL
- Closed