Re: [xwiki-users] Translations cannot be fetched using XML/RPC interface

2009-03-19 Thread Ari Oinas
Hi, And thanks for your efforts regarding this issue. I found the problem which caused my translations not to work. I used getPage -method to get page details. Which returned translations ok. But after that, I used renderContent method without defining content, which resulted that function return

Re: [xwiki-users] class database list property should be empty when creating document

2009-03-19 Thread Sebastian Kannengiesser
Thanx for the info Sergiu, Cheers, Sebastian On Wed, Mar 18, 2009 at 6:33 PM, Sergiu Dumitriu wrote: > Sebastian Kannengiesser wrote: >> Isn't there a way, as I'm not to familiar with sql and hql to get an >> empty line from my result. So like selecting what I select in my query >> and additiona

Re: [xwiki-users] Using session inside a class

2009-03-19 Thread Vincent Massol
On Mar 19, 2009, at 10:16 AM, Jan Cerny wrote: > Hi, > I'm trying to access session from a Groovy class, but I'm not > successful. > > When I have a simple script: > > <% > session = request.getSession(true); > > counter = session.getValue("counter") > %> > > - everything is OK. > > But when

[xwiki-users] Using session inside a class

2009-03-19 Thread Jan Cerny
Hi, I'm trying to access session from a Groovy class, but I'm not successful. When I have a simple script: <% session = request.getSession(true); counter = session.getValue("counter") %> - everything is OK. But when I have a class: class User { def counter = 0; void setUser() { s

Re: [xwiki-users] Translations cannot be fetched using XML/RPC interface

2009-03-19 Thread Fabio Mancinelli
On Mar 19, 2009, at 8:48 AM, Ari Oinas wrote: > Hi, > > And thanks for your efforts regarding this issue. I found the > problem which > caused my translations not to work. > > Happy that you solved your problem. > Still, some things to consider: > > - should renderContent function also handle

[xwiki-users] Using session inside a class

2009-03-19 Thread Jan Cerny
On Mar 19, 2009, at 10:16 AM, Jan Cerny wrote: > Hi, > I'm trying to access session from a Groovy class, but I'm not > successful. > > When I have a simple script: > > <% > session = request.getSession(true); > > counter = session.getValue("counter") > %> > > - everything is OK. > > But when I

Re: [xwiki-users] Translations cannot be fetched using XML/RPC interface

2009-03-19 Thread Ari Oinas
Some other improvements also came to mind: - Search -method should also have ability to set language - It would be nice if search -method could also search rendered contents. For example if I have a macro on one page, which trancludes text from another page, page containing the macro doesn't show i

Re: [xwiki-users] Translations cannot be fetched using XML/RPC interface

2009-03-19 Thread Guillaume Lerouge
Hi Ari, On Thu, Mar 19, 2009 at 12:48 PM, Ari Oinas wrote: > Some other improvements also came to mind: > - Search -method should also have ability to set language > - It would be nice if search -method could also search rendered contents. > For example if I have a macro on one page, which tranc

Re: [xwiki-users] Translations cannot be fetched using XML/RPC interface

2009-03-19 Thread Sergiu Dumitriu
Ari Oinas wrote: > - It would be nice if search -method could also search rendered contents. > For example if I have a macro on one page, which trancludes text from > another page, page containing the macro doesn't show in search results. I > think that this feature is very hard to implement very e

[xwiki-users] Hibernate exception when trying to delete attachment

2009-03-19 Thread Stefan Woehrer
Hi, we are running XWiki 1.7.1 on Tomcat 6 with MS-SQL. When deleting attachments, in general, everything works fine. But on some files we get a hibernate exception. We can't figure out why this error appers with some attachments. Here's the exception: A problem occured while trying to service

Re: [xwiki-users] Hibernate exception when trying to delete attachment

2009-03-19 Thread Sergiu Dumitriu
Stefan Woehrer wrote: > Hi, > > we are running XWiki 1.7.1 on Tomcat 6 with MS-SQL. > > When deleting attachments, in general, everything works fine. But on some > files we get a hibernate exception. We can't figure out why this error > appers with some attachments. Here's the exception: > When

Re: [xwiki-users] Hibernate exception when trying to delete attachment

2009-03-19 Thread Niels Mayer
2009/3/19 Stefan Woehrer > > > > com.xpn.xwiki.store.hibernate.HibernateAttachmentRecycleBinStore.saveToRecycleBin(HibernateAttachmentRecycleBinStore.java:83) >at > com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2799) >at > com.xpn.xwiki.doc.XWikiDocument.delet

Re: [xwiki-users] Hibernate exception when trying to delete attachment

2009-03-19 Thread Stefan Woehrer
SOLVED Seems to be that "large file - bug" mentioned. With files > 5MB the problem occures. By disabling the recyclebin functionality for the attachment storage the exception could be avoided. Thank you very much, Steve -- View this message in context: http://n2.nabble.com/Hibernate-exceptio

[xwiki-users] Moving from AD LDAP to Kerberos

2009-03-19 Thread Samuel Lee
How do I allow Kerberos authentication for just one of my XWiki's in the xwiki farm? I had an AD LDAP authentication setup, but we're moving to a Kerberos structure for just the one xwiki. -Do I need to comment out all the LDAP parameters? -How do I pass the Kerberos Authentications to just on