[xwiki-users] Version 2.3: The environment prevents the table to load data.
Hi there, me again. I do have a small Velocity-Script displaying all pages within a space. That worked perfect until version 2.2.6: {{velocity}} #if("$!request.space" != "") #set($space=$request.space) #else #set($space = $doc.space) #end $msg.get('xe.space.index.description', [$space]) #set($collist = ["doc.name","doc.date", "doc.author", "_actions"]) #set($colprops = { "doc.name" : { "type" : "text" , "size" : 30, "link" : "view"}, "doc.date" : { "type" : "date" }, "doc.author" : { "type" : "text", "link" : "author"}, "_actions" : {"actions": ["copy","delete","rename","rights"]} }) #set($options = { "translationPrefix" : "xe.index.", "rowCount": 15, "extraParams" : "&space=${space}" }) #livetable("spaceindex" $collist $colprops $options) {{/velocity}} However, no it tells me "The environment prevents the table to load data.", although the pages are displayed below the error-message. Could somebody please sged some light what's going wrong here? TIA Gregor -- just because you're paranoid, don't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 @ http://pgp.mit.edu:11371/ skype:rc46fi
On May 19, 2010, at 6:01 PM, Gregor Schneider wrote:
Hi there,
me again.
I do have a small Velocity-Script displaying all pages within a space. That worked perfect until version 2.2.6:
{{velocity}} #if("$!request.space" != "") #set($space=$request.space) #else #set($space = $doc.space) #end $msg.get('xe.space.index.description', [$space]) #set($collist = ["doc.name","doc.date", "doc.author", "_actions"]) #set($colprops = { "doc.name" : { "type" : "text" , "size" : 30, "link" : "view"}, "doc.date" : { "type" : "date" }, "doc.author" : { "type" : "text", "link" : "author"}, "_actions" : {"actions": ["copy","delete","rename","rights"]} }) #set($options = { "translationPrefix" : "xe.index.", "rowCount": 15, "extraParams" : "&space=${space}" }) #livetable("spaceindex" $collist $colprops $options) {{/velocity}}
However, no it tells me "The environment prevents the table to load data.", although the pages are displayed below the error-message.
Could somebody please sged some light what's going wrong here?
Yep, you need to import some XAR pages, see the release notes at http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise23#HBack... Also make sure you refresh your browser cache afterwards. Thanks -Vincent
Hi Vincent, sorry, but I deleted my cache and cookies and imported all pages from the new xar except the ones mentioned in your upgrade-howto, that are XWiki.XWikiPreferences XWiki.WebPreferences XWiki.XWikiAllGroup However, the error-message persists. Any clue? Cheers Gregor -- just because you're paranoid, don't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 @ http://pgp.mit.edu:11371/ skype:rc46fi
On May 19, 2010, at 7:18 PM, Gregor Schneider wrote:
Hi Vincent,
sorry, but I deleted my cache and cookies and imported all pages from the new xar except the ones mentioned in your upgrade-howto, that are
XWiki.XWikiPreferences XWiki.WebPreferences XWiki.XWikiAllGroup
However, the error-message persists.
Any clue?
Then I don't know. I had the same error when upgrading and this solved it for me. Maybe others have some ideas. -Vincent
Cheers
Gregor -- just because you're paranoid, don't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 @ http://pgp.mit.edu:11371/ skype:rc46fi
participants (2)
-
Gregor Schneider -
Vincent Massol