Merged HEAD-BUG-FIX (4.3/Cloud) to HEAD (4.3/Cloud)

57133: Merged V4.2-BUG-FIX (4.2.1) to HEAD-BUG-FIX (Cloud/4.3)
      56916: Merged V4.1-BUG-FIX (4.1.7) to V4.2-BUG-FIX (4.2.1)
         56768: MNT-9759 A link on a wiki page is red after upgrade from 3.3.5/3.4.13
         In WikiServiceImpl.buildPage() was added replaceAll(" ", "_").


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@61758 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Alan Davis
2014-02-11 19:57:11 +00:00
parent 73d632221e
commit 82f125b6cb

View File

@@ -165,7 +165,7 @@ public class WikiServiceImpl implements WikiService
page.setModifiedAt((Date)props.get(ContentModel.PROP_MODIFIED));
// Now the wiki ones
page.setTitle((String)props.get(ContentModel.PROP_TITLE));
page.setTitle(((String)props.get(ContentModel.PROP_TITLE)).replaceAll(" ", "_"));
// Finally, do the content
String contents = preLoadedContents;