By the way I'm on xwiki 3.1 ...
I tried to update fields and save modifications anyway, but then I get the
following exception on save :
Wrapped Exception:
org.hibernate.exception.DataException: could not update:
[com.xpn.xwiki.objects.StringProperty#component[id,name]{id=-944455444,
name=ldap_group_mapping}]
at
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:77)
at
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at
org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2430)
at
org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2312)
at
org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2612)
[...]
at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:162)
at
com.xpn.xwiki.web.SaveAndContinueAction.action(SaveAndContinueAction.java:63)
[...]
Caused by: com.mysql.jdbc.MysqlDataTruncation: *Data truncation: Data too
long for column 'XWS_VALUE' at row 1*
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3556)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3490)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1959)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2109)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2648)
at
com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2077)
at
com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2362)
at
com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2280)
at
com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2265)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
at
org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2412)
... 54 more
I believe value in ldap group mapping field is too long, but for now I don't
if it's because of migration to xwiki 3.1 or if it's "normal" that
it's too
long...
--
View this message in context:
http://xwiki.475771.n2.nabble.com/LDAP-tool-tp6312422p6861524.html
Sent from the XWiki- Users mailing list archive at
Nabble.com.