On Fri, Apr 3, 2009 at 19:07, twk3 <[email protected]> wrote: > > > > Hi, > > I can't reproduce it on XE 1.8 with a 2.0 document and rev=1.1 for example. > > Could you details the exact actions to do to reproduce it ? (Does the > 2.0 document as been converted at some point, maybe I nee I need more > than 2 versions, etc.) > > > > What I did to reproduce: > > Created new page, add an {{include document="TestDoc"/}} and save the page in > syntax 2.0 > > Viewing the page at this point is fine. The document is included. > > If you check the revisions at this point, it works fine. > > But that's because both your current document, and your included document > have a revision 1.1 > > The easiest way to reproduce at this point, is usually to reopen your > document and save it as a minor edit > > now view revision 1.2, as long as the included document doesn't have a > revision 1.2, it is going to throw a velocity error. > > So it looks like it's trying to load the same revision number for the > included document, and when such a revision number doesn't exist, it fails.
Ok i just reproduced it, it looks like a include macro bug. Would be great if you could create an issue for it on http://jira.xwiki.org > > Snippets of exception: > > org.xwiki.rendering.macro.MacroExecutionException: Failed to get content for > Document [Sandbox.TestDoc] at > org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:138)... > > .... > > com.xpn.xwiki.XWikiException: Error number 3205 in 3: Version 1.2 does not > exist while reading document Sandbox.TestDoc at > com.xpn.xwiki.store.XWikiHibernateVersioningStore.loadXWikiDoc(XWikiHibernateVersioningStore.java:218) > > -- > View this message in context: > http://n2.nabble.com/Revision-Viewing-is-throwing-marco-errors-tp2571038p2581869.html > Sent from the XWiki- Users mailing list archive at Nabble.com. > > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users > -- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
