Wiki pages containing internal links does not render after 5.0.d -> 5.2.0 -> 7.1.0 update.

cancel
Showing results for 
Search instead for 
Did you mean: 
horadiluh
Member II

Wiki pages containing internal links does not render after 5.0.d -> 5.2.0 -> 7.1.0 update.

Hi,

I decided to update my old Alfresco community server from 5.0.d to 7.1.0 community (docker container). Since the update, the wiki pages that contains internal link (e.g. [[my internal wiki page]]) trigger an exception in the alfresco app:

Spoiler
alfresco_1 | 2022-04-01 08:49:57,721 ERROR [extensions.webscripts.AbstractRuntime] [http-nio-8080-exec-3] Exception from executeScript: 03010015 Wrapped Exception (with status template): org/apache/commons/lang/StringEscapeUtils
alfresco_1 | org.springframework.extensions.webscripts.WebScriptException: 03010015 Wrapped Exception (with status template): org/apache/commons/lang/StringEscapeUtils
alfresco_1 | at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:1139)
....

alfresco_1 | 2022-04-01 08:49:57,871 ERROR [extensions.webscripts.AbstractRuntime] [http-nio-8080-exec-18] Exception from executeScript: 03010016 Wrapped Exception (with status template): org/apache/commons/lang/StringEscapeUtils
alfresco_1 | org.springframework.extensions.webscripts.WebScriptException: 03010016 Wrapped Exception (with status template): org/apache/commons/lang/StringEscapeUtils
alfresco_1 | at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:1139)

When I modify a page and remove internal links, it then renders correctly.

 

It also happens with a clean install of Alfresco 7.1.0 with the docker-compose file.

Did anyone already faced this kind of behavior ?

2 Replies
horadiluh
Member II

Re: Wiki pages containing internal links does not render after 5.0.d -> 5.2.0 -> 7.1.0 update.

This issue fixed this bug: https://github.com/Alfresco/alfresco-community-repo/issues/1044

If Alfresco dev could include this in their source, that would be nice. Basically, devs should check for any old version of org.apache.commons.lang.StringEscapeUtils and use org.apache.commons.lang3.StringEscapeUtils instead.

horadiluh
Member II

Re: Wiki pages containing internal links does not render after 5.0.d -> 5.2.0 -> 7.1.0 update.

This is actually not resolved as its a bug in Alfresco since quite some time but no one ever noticed it.

Is there a way for developpers to look into this issue ? Cause github seems to be unused for issues.