I can answer the "Deprecated usage of getter [com.xpn.xwiki.api.XWiki.getArrayList]" This is simply because our core develops faster than we can keep all applications up to date. Somebody will have to find the line which says #set($someVariable = $xwiki.getArrayList()) and replace it with #set($someVariable = []) the code should work ok despite the deprecation.
I have repeated your problem with topics, pressing enter reloads the page but doesn't add the topic as required which is not only inconvenient but misleading. It looks like there is some javascript which depends on the submit button being clicked. Caleb On 02/07/2011 04:46 PM, Scardino, Leonard R Jr ERDC-ITL-MS Contractor wrote: > Ok, quick update. I suddenly was able to create a new topic. The difference > is whether or not when I filled in the title of the topic if I hit enter, or > clicked the "Add this topic". In other words, I click the "Add a new > topic..." link, the "Title of your topic" box appears with the "Add this > topic" button. If I put something in the text box and hit the enter key, I > get the below warnings. If I instead click the button, it works. > > I really wish I had time to delve into the code and figure this out but I > don't. Anyone have any idea why I would be seeing this behavior? > > Thanks, > > Lenny > > > > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf Of > Scardino,Leonard R Jr ERDC-ITL-MS Contractor > Sent: Monday, February 07, 2011 3:32 PM > To: XWiki Users > Subject: [xwiki-users] xwiki BulletinBoard - Deprecated usage of > getter[com.xpn.xwiki.api.XWiki.getArrayList] > > Ok, I'm not sure what happened, but previously I was able to create a new > Topic and post to that topic. Now, even as an admin, when I try to create a > new Topic I get messages like the following in the Tomcat stdout log: > > WARN internal.DefaultVelocityEngine - Deprecated usage of getter > [com.xpn.xwiki.api.XWiki.getArrayList] in xwiki:BulletinBoard.CTAs@126,29 > WARN internal.DefaultVelocityEngine - Deprecated usage of getter > [com.xpn.xwiki.api.XWiki.getArrayList] in > xwiki:BulletinBoard.TestCategory@126,29 > > I had also gotten a similar message when I tried to reply to a post in a > topic I had already created, but I forgot to capture the message right after > it happened, and so I'm not sure which of the messages in the log came from > that. I also deleted that topic trying to see if I could create another to > fix the problem, but no dice. > > I would have thought this might have come from using a newer version of XWiki > than BulletinBoard expects, but I don't see any documentation saying that it > needs an older version, and I'm pretty sure I installed this plugin after I > upgraded to 2.7. > > Can anyone give me a hand here? I'm working on a tight deadline, and had > this working before. I need it working again quickly. > > Thanks, > > Lenny > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users > _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
