URL to long is not discovered and yields exceptions

Create issue
Issue #2208 duplicate
Stephan Doerfel created an issue

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 (1)

  1. Log in to comment