Hi Nazzareno,
On 30 Jan 2015 at 13:37:11, Nazzareno Pompei
(nazzareno.pompei@unibo.it(mailto:nazzareno.pompei@unibo.it)) wrote:
Hello xWikiers,
I’ve just registered to the mailing list and I’m pleased to introduce you the site
http://apice.unibo.it,
developed by the APICe Research Group, which belong to The Department of Information
Engineering and Computer Science (DISI)
of University of bologna, Italy.
The site is up since 2007, starting from xwiki 1.1.
It’s very nice to see some long time users of XWiki! :) I’m sure you’ll see a lot of
improvements with recent versions ;)
Since you’re using a very old version (2.1.2), I’d propose to use the strategy defined
here and to install XWiki 6.2.5 (6.4.1 to be released in about a week or so):
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade#HAlternative:Ex…
Normally we’ve kept all the scripting API backward compatible and your wiki pages should
import fine.
Is that how you’ve “upgraded” or are you doing the WAR upgrade strategy defined here:
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade#HUpgradingthewe…
Thanks
-Vincent
Since then it has been migrated step by step and is
now powered by xwiki 2.1.2.
It’s my aim to migrate to latest version, but I’m stuck in the middle of the process,
because of a problem during migration to 2.2.6 with the rendering of the comments,
attachments, history and Information
Here's what happens:
http://apice.unibo.it/xwiki/bin/download/Sandbox/WebHome/bug226.jpg
As can be seen, I use a cloned test site to simulate every upgrade task;
I’ve injected some debug code in the docextra.vm template (as in attachmentsinline.vm)
To solve the bug, I’m focusing on docextra.vm template: the $doc and the $tdoc variables
are “undefined”
when the *inline.vm template are called inside the javascrit,
with document.observe or Event.observe that run
XWiki.displayDocExtra("${extraAnchor}", "${extraTemplate}", false);
for instance ${extraAnchor} = “attachments”, ${extraTemplate} = “attachmentsinline.vm”
From the log it’s clear that this is the problem ($tdoc variable is “undefined”) because
I find in the log:
https://test.apice.unibo.it/xwiki/bin/view/Publications/undefined?xpage=xpa…
instead the correct url should be, for example:
https://test.apice.unibo.it/xwiki/bin/view/Publications/BioSac2012?xpage=xp…
that actually works!
I do not can understand why The $doc and the $tdoc variable is “undefined” at runtime…
Any suggestion?
Thank you very much
Nazzareno Pompei
PS: I’m experiencing a problem with import page too, is it entangled?
http://apice.unibo.it/xwiki/bin/download/Sandbox/WebHome/importBug.png