Issue
Steps to reproduce:
1) Have OpenOffice installed on the machine where Liferay DXP is running.
2) Start headless OpenOffice using this command
soffice --headless --accept="socket,host=127.0.0.1,port=8100;urp;" --nofirststartwizard
3) Start Liferay DXP
4) Enable OpenOffice conversion in Control Panel → Server Administration → External Services (on master it was moved to System Settings)
5) Place a Wiki portlet on a page and add a Wiki page.
6) Have a page with the Asset Publisher portlet
7) Configure the Asset Published to show Wiki pages and in Display Settings enable conversion to PDF.
8) Click on the Wiki page to see the details. There should be a hyperlink PDF.
9) Click on the hyperlink PDF and watch Liferay's log file.
Expected Results: No error, successful conversion
Actual Results: Error in logs, no conversion:
2021-06-17 17:45:13,646 WARN [MVCPortlet:312] No render mappings found for MVC render command name "/wiki/export_page" for portlet com_liferay_wiki_web_portlet_WikiPortlet 2021-06-17 17:45:13,649 ERROR [MVCPortlet:592] null is not a valid include
Environment
- Liferay DXP 7.0
Resolution
- It's a known issue and is fixed in fix-pack liferay-fix-pack de-102 and above.
- Installing Fix Packs and Hotfixes on Liferay DXP will guide to install this hotfix in the respective environment.