[ 
http://jira.xwiki.org/jira/browse/XWIKI-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sergiu Dumitriu updated XWIKI-2000:
-----------------------------------

    Attachment: XWIKI-2000-exception.log

ERROR store.XWikiHibernateBaseStore   - Failed updating schema while executing 
query "update xwikidoc set xwd_fullname=concat('xwd_web','.','xwd_name) where 
xwd_fullname is null" 
com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: You have an error in your 
SQL syntax; check the manual that corresponds to your MySQL server version for 
the right syntax to use near ''xwd_name) where xwd_fullname is null' at line 1

See the attached log for the full stacktrace.

About applying it to the 1.2 branch, I guess that since nobody saw this bug for 
so long (this happened around rev. 450), then it is not something critical.

Looking at XWiki.isMysql I see that this wasn't triggered as the method was 
using a deprecated check, on "net.sf.hibernate.dialect.MySQLDialect" instead of 
"org.hibernate.dialect.MySQLDialect", so no wonder this wasn't appearing in our 
stacktraces.

> Exception updating the database when starting XWiki in mysql
> ------------------------------------------------------------
>
>                 Key: XWIKI-2000
>                 URL: http://jira.xwiki.org/jira/browse/XWIKI-2000
>             Project: XWiki Platform
>          Issue Type: Bug
>          Components: Storage
>    Affects Versions: 1.2 RC3
>            Reporter: Sergiu Dumitriu
>         Assigned To: Sergiu Dumitriu
>             Fix For: 1.3 M1
>
>         Attachments: XWIKI-2000-exception.log
>
>
> There's an ancient error in the updateSchema scripts, a missing << ' >> in an 
> SQL, which results in an exception. Don't know how this error remained 
> unobserved, for such a long time...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.xwiki.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications

Reply via email to