We have noticed that if there is .
and /
character in Publication Title, DXA template throw error while publishing/previewing the pages. Find below error message:
(80040200) An error occurred while rendering Page '000 Home' (tcm:162-90394-64)
Unable to load include page for 'system/include/header'
No items found for WebDAV URL(s): /webdav/090%20test%2Ecom/en-US%20%28DXA%29/root/_System/include/Header.tpg.
No items found for WebDAV URL(s): /webdav/090%20test%2Ecom/en-US%20%28DXA%29/root/_System/include/Header.tpg.
Here Publication title is 090 test.com/en-US (DXA) whose WebDAV should be 090%20test.com%2Fen-US%20%28DXA%29
. Wondering if anyone noticed this issue and have some quick workaround? I know we can change the Template code but wondering if there is any other fix as well? If I change the Publication title to remove .
and /
, it's started working fine.
Update:
We have tried following steps mentioned in the DXA 2.2 documentation URL to add Webdav URL instead of relative URL, but still no luck. It's still showing the similar error.
(80040200) An error occurred while rendering Page '000 Home' (tcm:162-90394-64)
Unable to load include page for '/webdav/090 test.com/en-US (DXA)/root/_System/include/Header.tpg'
No items found for WebDAV URL(s): /webdav/090%20test%2Ecom/en-US%20%28DXA%29/root/_System/include/Header.tpg.
No items found for WebDAV URL(s): /webdav/090%20test%2Ecom/en-US%20%28DXA%29/root/_System/include/Header.tpg.
After adding Page tcm URI in page template, issue got fixed.
I am wondering if Include page tcm URI in page template create some issue as this tcm URI will be incorrect for inherited child publications?