ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Le Roux (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-5501) ImageManagementServices.createContentAndDataResource() method might uses DataResource.dataResourceName field to store too long names
Date Sat, 29 Nov 2014 12:51:12 GMT

    [ https://issues.apache.org/jira/browse/OFBIZ-5501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14228755#comment-14228755
] 

Jacques Le Roux commented on OFBIZ-5501:
----------------------------------------

The issue bill hongs suggested to fix is not in createContentAndDataResource() method but
addMultipleuploadForProduct().
There is still a possiblity to have an image name (filename w/o path) longer than rDataResource.dataResourceName
field (100 chars) but it's unlikely.

> 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, Release Branch 12.04, Release Branch 13.07,
Trunk
>            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.3.4#6332)

Mime
View raw message