Details
-
Bug
-
Resolution: Fixed
-
Major
-
2.4, 2.5 M1
-
None
-
bugfixingday
-
Unknown
-
Description
When a document is renamed, the method
com.xpn.xwiki.doc.XWikiDocument.rename(DocumentReference, List<DocumentReference>, List<DocumentReference>, XWikiContext)
is called. This method unconditionally tries to parse names of both source and target document as XWiki Syntax 1.0, which expects > to be followed by _, without any possibility to escape the > (see lines 5636-5637 in XWikiDocument and com.xpn.xwiki.content.parsers.LinkParser.parseTarget(StringBuffer, Link)).
As the result, the renaming fails in the middle with an obscure error trace.