- changed status to open
Truncation error for user_homepage
Please check this field in a Validator in webapp and in before storing in DB.
[2015-03-05 11:27:25,357] [ERROR] [org.bibsonomy.webapp.util.spring.controller.MinimalisticControllerSpringWrapper] - Could not complete controller (general exception) for request /updateUserProfile?ckey=639 16aa3605f2b469929c3d68df2b41a with referer http://www.bibsonomy.org/settings java.lang.RuntimeException: Couldn't execute query 'updateUserProfile' at org.bibsonomy.util.ExceptionUtils.logErrorAndThrowRuntimeException(ExceptionUtils.java:59) at org.bibsonomy.database.common.impl.DBSessionImpl.logException(DBSessionImpl.java:368) ...
Caused by: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'user_homepage' at row 1 at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3595)
related to #222
Comments (5)
-
-
- changed status to resolved
calling custom type handlers in db model validator when checking max field length
should fix
#2445→ <<cset 4ba60182f71d>>
-
-
reporter - changed status to open
please also add error messages for the user
-
- changed status to closed
controller adds error messages, but the error messages get lost, see
#2446 - Log in to comment
the validator in the db should be used!