Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.0.X, 7.1.X, Master
-
7.1.x, 7.0.x
-
Committed
-
0.25
-
3
Description
A warning "Unable to process layout URL" is written to log in case of having a link to a portlet friendly URL, for example in case of adding following link to a web content:
http://localhost:8080/web/mysite/mypage/-/journal/rss/226268/226312
(more info see LPS-82757)
Steps to reproduce
- Activate log level category "com.liferay.exportimport.internal.content.processor" to WARN
- Create a site and activate staging (local or remote)
- Add a page called "page1" with a asset publisher
- Create a JournalFeed pointing to "page1"
- Publish Page and JournalFeed to live
- Add a second page called "page2" with a web content display portlet
- Add a web content to the web content display portlet and add a link to the JournalFeed created in staging:
http://localhost:8080/web/mysite-staging/mypage/-/journal/rss/<staging-groupId>/<staging-feedId> - Publish "page2" to live
- Expected log behavior: There is no WARN traces related to JournalFeed Link
- Wrong log behavior: There is following WARN trace
2018-06-21 13:21:48.889 WARN [liferay/background_task-1][BaseTextExportImportContentProcessor:837] Unable to process layout URL /page1/-/journal/rss/226268/226312 for staged model com.liferay.journal.model.JournalArticle with primary key 226373
- Expected log behavior: There is no WARN traces related to JournalFeed Link
Attachments
Issue Links
- Discovered while testing
-
LPS-82757 JournalFeed URL is not rewritten with the correct feedId during Staging to Live publication
- Closed