xwiki.renameDocument()
hi, has anyone successfully used the renameDocument method ? i experience odd errors when using it. when i rename a page the attachments disappear and you get a velocity exception. Before you delete such a corrupted/renamed page you have to delete the attachments beforehand, otherwise you'll get a hibernate exception. org.hibernate.StaleStateException: Batch update returned unexpected row count from update: 0 actual row count: 0 expected: 1 greetings, kris
Hi what version of xwiki are you using? I recently made fixes on this. jeremi On 11/29/06, kristian.marinkovic@porsche.co.at <kristian.marinkovic@porsche.co.at> wrote:
hi,
has anyone successfully used the renameDocument method ?
i experience odd errors when using it. when i rename a page the attachments disappear and you get a velocity exception. Before you delete such a corrupted/renamed page you have to delete the attachments beforehand, otherwise you'll get a hibernate exception.
org.hibernate.StaleStateException: Batch update returned unexpected row count from update: 0 actual row count: 0 expected: 1
greetings, kris
-- You receive this message as a subscriber of the xwiki-users@objectweb.org mailing list. To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org For general help: mailto:sympa@objectweb.org?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- jeremi
Version 1252. Is that why? -----Original Message----- From: jeremi23@gmail.com [mailto:jeremi23@gmail.com] On Behalf Of jeremi joslin Sent: November 29, 2006 11:47 AM To: xwiki-users@objectweb.org Subject: Re: [xwiki-users] xwiki.renameDocument() Hi what version of xwiki are you using? I recently made fixes on this. jeremi On 11/29/06, kristian.marinkovic@porsche.co.at <kristian.marinkovic@porsche.co.at> wrote:
hi,
has anyone successfully used the renameDocument method ?
i experience odd errors when using it. when i rename a page the attachments disappear and you get a velocity exception. Before you delete such a corrupted/renamed page you have to delete the attachments beforehand, otherwise you'll get a hibernate exception.
org.hibernate.StaleStateException: Batch update returned unexpected row count from update: 0 actual row count: 0 expected: 1
greetings, kris
-- You receive this message as a subscriber of the xwiki-users@objectweb.org mailing list. To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org For general help: mailto:sympa@objectweb.org?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- jeremi
participants (3)
-
jeremi joslin -
kristian.marinkovic@porsche.co.at -
Lijour, Marc (EDU)