<
From version < 4.1 >
edited by Vincent Massol
on 2010/04/06
To version < 5.1 >
edited by Vincent Massol
on 2010/04/06
>
Change comment: Added warning about standalone/inline macros

Summary

Details

Page properties
Content
... ... @@ -52,4 +52,19 @@
52 52  
53 53  == Migration Notes ==
54 54  
55 -* headers id generation changed a bit and allow more characters: hyphens ("-"), underscores ("_"), colons (":"), and periods (".") are not filtered anymore.
55 +* Standalone/inline Macro parsing has been fixed. ((({{error}}
56 +There has been a [[bug>>http://jira.xwiki.org/jira/browse/XWIKI-5050]] that appeared when we released the new XWiki Syntax 2.0 several releases back and which we've finally fixed in this release. Basically if you had a macro followed by a new line and then another macro, both macros would be considered as standalone. This is now fixed and they are correctly considered by the parser as inline. More specifically if you were previously using a standalone macro (such as the TOC macro or the HTML macro and your macro wasn't separated from a previous macro by at least 2 new lines, it'll now fail to render.
57 +
58 +In addition, several pages that are part of the XWiki Enterprise default XAR were not written correctly and didn't have these 2 new lines as mentioned above. We've fixed these pages too but you'll need to make sure you import them in your existing wiki (if you're upgrading) since otherwise these pages will fail to display correctly. These pages are:
59 +* Main.RecentChanges
60 +* Main.AllDocs
61 +* XWiki.Tableview
62 +* XWiki.Treeview
63 +* XWiki.AllAttachments
64 +* XWiki.OrphanedPages
65 +* XWiki.DeletedDocuments
66 +* XWiki.DeletedAttachments
67 +* XWiki.XWikiUserPreferencesSheet
68 +{{/error}})))
69 +
70 +* Header id generation changed a bit and more special characters are now allowed in id names: hyphens ("-"), underscores ("_"), colons (":"), and periods (".") are not filtered anymore.

Get Connected