[
https://jira.nuxeo.com/browse/NXP-8141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Florent Guillaume resolved NXP-8141.
------------------------------------
Resolution: Fixed
http://hg.nuxeo.org/nuxeo/nuxeo-features/rev/850100449f5c
> Allow longer picture caption/headline on MySQL
> ----------------------------------------------
>
> Key: NXP-8141
> URL: https://jira.nuxeo.com/browse/NXP-8141
> Project: Nuxeo Enterprise Platform
> Issue Type: Bug
> Components: Image management
> Affects Versions: 5.4
> Reporter: Florent Guillaume
> Assignee: Florent Guillaume
> Fix For: 5.5
>
>
> When using MySQL and picture with a long caption or headline, saving a
> document fails with:
> {noformat}
> org.nuxeo.ecm.core.api.ClientException: Failed to save session
> at
> org.nuxeo.ecm.core.api.AbstractSession.save(AbstractSession.java:1872)
> ...
> Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception:
> org.nuxeo.ecm.core.api.DocumentException. message:
> org.nuxeo.ecm.core.storage.StorageException: Could not insert: INSERT INTO
> `picture` (`id`, `headline`, `genre`, `typage`, `origin`, `slugline`,
> `caption`, `dateline`, `byline`, `source`, `cropcoords`, `language`,
> `credit`, `subheadline`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
> ...
> Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception:
> com.mysql.jdbc.MysqlDataTruncation. message: Data truncation: Data too long
> for column 'caption' at row 1
> ...
> {noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets