[
https://issues.apache.org/jira/browse/OFBIZ-5501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13876907#comment-13876907 ]
Jacques Le Roux commented on OFBIZ-5501:
----------------------------------------
No, the problem is the complete filename is too long to fit in DataResource.dataResourceName field which type is name or sql-type="VARCHAR(100)".
Anyway there are other issues, and I'm not quite sure how to use this feature.
> ImageManagementServices.createContentAndDataResource() method might uses DataResource.dataResourceName field to store too long names
> ------------------------------------------------------------------------------------------------------------------------------------
>
> Key: OFBIZ-5501
> URL:
https://issues.apache.org/jira/browse/OFBIZ-5501> Project: OFBiz
> Issue Type: Bug
> Components: product
> Affects Versions: Release Branch 11.04, SVN trunk, Release Branch 12.04, Release Branch 13.07
> Reporter: Jacques Le Roux
>
> So you get this kind of errors:
> ERROR 22001: A truncation error was encountered trying to shrink VARCHAR 'D:\projectsASF\ofbizClean\framework\images\webapp\images\pro&' to length 100.
> org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)