roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Johnson (JIRA)" <j...@apache.org>
Subject [jira] Closed: (ROL-662) Bookmark description is truncated
Date Sun, 18 Jul 2010 19:21:52 GMT

     [ 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.


Mime
View raw message