Hi, On Jan 12, 2011, at 1:17 AM, Mike Jakubik wrote:
> On Wed, 2011-01-12 at 00:49 +0100, Sergiu Dumitriu wrote: > >> On 01/11/2011 11:28 PM, Mike Jakubik wrote: >>> On Tue, 2011-01-11 at 16:19 -0500, Mike Jakubik wrote: >>> >>>> Hello, >>>> >>>> I just upgraded from 2.3 to 2.7, after importing the new XAR the Main >>>> space is showing "Unknown macro: activity, spaces, and tagcloud". Whats >>>> going on here? I imported everything from the new XAR. Also as a side >>>> note, all of the Wiki Preferences pages are showing a "<pre></pre>" in >>>> the content. >>>> >>>> Thanks. >>> >>> >>> This seems to be the result of the following bug. >>> >>> http://jira.xwiki.org/jira/browse/XWIKI-5668 >>> >>> I had to add the default Admin to my wiki and re-import the XAR to fix >>> this. However the mysterious<pre> tags remain. >> >> The <pre> comes from the fact that the old preferences documents were >> created in syntax xwiki/1.0, while the administration application >> (included sheets) are now in syntax xwiki/2.0. >> > > > Thanks for the info, but shouldn’t importing the new XAR bring in the > new pref documents? How can i fix this? I know nobody reads the Release Notes but it's a good read :) (since XWiki.org is down I can't verify it's in the release notes but I'm pretty sure I put it there - just don't remember in which one for which version). So the solution is to edit XWiki.XWikiPreferences, change the syntax to 2.0 (don't do the auto conversion when asked) and replace #include* by {{include document="..."/}}. Hope it helps, -Vincent _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users