New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wiki internal links exception. #1044
Comments
We can reproduce this error and the solution. Will the fix be included in the official docker images? Would make our deployment a lot easier. Thanks! |
I don't know where to report issues like this. The github repos seems dead and exists only as a repository. They don't use it as an issue reporting/tracking. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since I updated from 5.0.d to 7.1.0, some wiki pages that uses internal links ([[the wiki page]]) are not rendered.
After investigation it seems that the Wiki code uses org/apache/commons/lang/StringEscapeUtils instead of org/apache/commons/lang3/StringEscapeUtils.
alfresco-community-repo/amps/share-services/src/main/java/org/alfresco/repo/web/scripts/wiki/WikiPageGet.java
Line 33 in 63f7f07
After changing to
import org.apache.commons.lang3.StringEscapeUtils;
andalfresco-community-repo/amps/share-services/src/main/java/org/alfresco/repo/web/scripts/wiki/WikiPageGet.java
Line 95 in 63f7f07
to
WikiPageInfo wikiPage = wikiService.getWikiPage(site.getShortName(), StringEscapeUtils.unescapeHtml4(link));
It worked as expected.
The text was updated successfully, but these errors were encountered: