You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by "David Johnson (JIRA)" <ji...@apache.org> on 2010/07/18 21:21:52 UTC

[jira] Closed: (ROL-662) Bookmark description is truncated

     [ https://issues.apache.org/jira/browse/ROL-662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Johnson closed ROL-662.
-----------------------------

    Resolution: Fixed

No longer relevant

> Bookmark description is truncated
> ---------------------------------
>
>                 Key: ROL-662
>                 URL: https://issues.apache.org/jira/browse/ROL-662
>             Project: Roller
>          Issue Type: Bug
>          Components: Bookmark Management
>    Affects Versions: 1.0.1
>         Environment: MySQL 4.1.9, JConnector "mysql-connector-java-3.1-nightly-20050207-bin.jar"
>            Reporter: Gili
>            Assignee: Roller Unassigned
>            Priority: Minor
>
> With newer versions of MySQL and JConnector a JDBC exception is thrown if you try an SQL update and pass too much data (which leads to truncation).
> I just got this exception adding a bookmark:
> java.sql.BatchUpdateException: Data truncation: Data truncated for column 'description' at row 1
> In other words; you must ensure that the user does not submit a bookmark description that is longer than is allowed by the DB column. Otherwise the user will get a nice servlet crash.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.