Hi Sergiu/Inge, Two things: 1) I have added a comment on http://www.xwiki.org/xwiki/bin/view/Code/ TagCloudSnippet 2) I think the XWiki.search() code is wrong. A method that returns a List should never return a null. It should return an empty list (or throw an exception), so I propose to modify it to return an empty list instead. I'll send a vote since this is an API. Thanks -Vincent On Sep 21, 2007, at 11:12 AM, Sergiu Dumitriu wrote:
Hi,
Actually, you didn't solve the problem.
The sort error is caused by the fact that the tagcloud panel uses a privileged method ($xwiki.search) which is only available in documents saved by an administrator. By adding a TagClass object, you just saved the document with your admin account, and as a side effect you allowed the $xwiki.search method to be executed.
This is a known bug, which will be solved sometime later.
Sergiu
On 9/21/07, I.T. van den Dobbelsteen-Heemskerk <[email protected]> wrote:
Vincent, I solved this issue in a different way. If I add an object Xwiki.Tagclass, even if one already exists, then he error in the panel disappears. Quite strange, but for now (I am still testing) good enough for me. I even managed to add the Xwiki.Tagclass object in de Login page which was rather difficult.
Inge
De disclaimer van toepassing op e-mail van de gemeente Den Haag vindt u op:
-- http://purl.org/net/sergiu _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users