On 3/5/07, Vincent Massol <vincent(a)massol.net> wrote:
On Mar 5, 2007, at 8:46 AM, Sergiu Dumitriu wrote:
I don't think it's related to XWIKI-530, since the import works for most
pages, except the specified 2.
Indeed, importing the XWikiPreferences page causes an error. The page is
deleted, but not imported back.
Sergiu, is this a regression? I've never had this problem with the
XWikiPreferences page. Do we have a jira for it? Is it fixed in Beta 5?
Here's the error I got (yesterday, so b5 doesn't fix it):
13:27:30,130 [TP-Processor6] WARN util.JDBCExceptionReporter - SQL
Error: 1062, SQLState: 23000
13:27:30,132 [TP-Processor6] ERROR util.JDBCExceptionReporter -
Duplicate entry '-944455444-tags' for key 1
13:27:30,133 [TP-Processor6] ERROR .AbstractFlushingEventListener - Could
not synchronize database state with session
org.hibernate.exception.ConstraintViolationException: could not insert: [
com.xpn.xwiki.objects.IntegerProperty]
at org.hibernate.exception.SQLStateConverter.convert(
SQLStateConverter.java:69)
So it's a duplicate key issue.
--
http://purl.org/net/sergiu