Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
Master
Description
Step to reproduce:
- Start 7.1 portal
- Site Administration > Build > Page Fragments
- Add a new collection
- Add a fragment
- Insert the following codes in <div> tags of HTML section
<lfr-editable id="title" type="text">Inline Content</lfr-editable>
- Publish
- Site Administration > Build > Pages > Display Pages tab
- Add a display page template
- Add the new fragment to display page template
- Click editable field > Map
- Select Web Content Article and Basic Web Content > Select Title
- Publish the display page template
- Click the ellipsis button of display page template
- Mark As Default
- Site Administration > Content > Web Content > Web Content tab
- Add a WC based on Basic Web Content
- Type WebContent as title
- Publish
- Access to http://localhost:8080/web/guest/-/webcontent
- Assert WebContent is shown in display page template
- Shutdown server
- Upgrade to master
- Start portal
- Sign In
- Access to http://localhost:8080/web/guest/w/webcontent
Expected Results:
The WebContent is shown in display page template
Actual Results:
The WebContent is not shown in display page template.
Additionally,
- Site Builder > Page Templates > Display Page Templates
- Assert the display page template has Approved label
- Click the title of display page template
- Click the back icon
- The status of display page template becomes Draft
- Click the title of display page template
- Publish the display page template
- Access to http://localhost:8080/web/guest/-/webcontent
- The WebContent is shown in display page template
Reproduced on:
Upgrade From: 7.1.x-private GIT ID: 9ad86a893470985936f31aef8f4411dbaa29fa21.
Tomcat 9.0.33 + MySQL 5.7. Portal master GIT ID: 0a9d8a4cef3087e830a086d8f30176c27981f37b.
Attachments
Issue Links
- is caused by
-
LPS-115162 Update FragmentEntryLink API
-
- Closed
-
- is related to
-
LPS-116262 NPE occurs when upgrade com.liferay.fragment.service
- Closed