URL to long is not discovered and yields exceptions
Please use a Validator to validate the length of a URL and display an according error message. Consider error handling in the REST API.
[ERROR] [org.bibsonomy.database.common.impl.DBSessionImpl] - Couldn't execute query 'insertBibTexExtraURL' - throwing RuntimeException
com.ibatis.common.jdbc.exception.NestedSQLException:
--- The error occurred in BibTexExtra.xml.
--- The error occurred while applying a parameter map.
--- Check the insertBibTexExtraURL-InlineParameterMap.
--- Check the statement (update failed).
--- Cause: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'url' at row 1
com.ibatis.common.jdbc.exception.NestedSQLException:
--- The error occurred in BibTexExtra.xml.
--- The error occurred while applying a parameter map.
--- Check the insertBibTexExtraURL-InlineParameterMap.
--- Check the statement (update failed).
--- Cause: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'url' at row 1
Comments (6)
-
reporter -
- changed status to open
-
-
-
assigned issue to
-
assigned issue to
-
Added an error message.
→ <<cset 33b9181 >>
-
- changed status to resolved
- Log in to comment
Issue
#2208was marked as a duplicate of this issue.