hel-o wrote:
This happens when i edit the wiki descriptor
(XWiki.XWikiServerWikiname)
The database engine is Mysql.
It worked before. Allready had the XWiki.ServerClass and imported the Wiki
Manager xar.
-> also imported XWiki.ServerClass, XWiki.ServerClassTemplate and
XWiki.ServerClassStylesheet
overwriting the existing Pages.
(and i'm afraid that was not a good idea)
The problem is that the type of a property (the owner?) was changed.
From the exception, I think that before it had
multiselect = true, and
the imported class has multiselect = false. Try to change it
back to
multiselect.
Theoretically, we have an automatic conversion that takes care of this
problem, so maybe it isn't used during imports.
tmortagne wrote:
> On Fri, Jan 16, 2009 at 6:41 PM, Thomas Mortagne
> <thomas.mortagne(a)xwiki.com> wrote:
>> On Fri, Jan 16, 2009 at 6:26 PM, hel-o <hel(a)hel.at> wrote:
>>> Hi,
>>>
>>> Just tried to convert my existing XE instance to XEM (application
>>> manager
>>> 1.5, wiki manager 1.6).
>>>
>>> The existing wikis are displayed in the WikiManager.WebHome page. But
>>> when i
>>> try to edit an existing wiki i get the following error:
>>> org.hibernate.StaleObjectStateException:
Row was updated or deleted by
>>> another transaction (or unsaved-value mapping was incorrect):
>>> [com.xpn.xwiki.objects.LargeStringProperty#
>>>
>>> XWiki.HelmutLehner
>>> ]
--
Sergiu Dumitriu
http://purl.org/net/sergiu/