[
https://issues.apache.org/jira/browse/OFBIZ-10839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16771711#comment-16771711 ]
Deepak Dixit commented on OFBIZ-10839:
--------------------------------------
Hi [~qepkwwl],
This has been fixed at OFBIZ-10673.
> It will be failed when you Upload a image to product content
> -------------------------------------------------------------
>
> Key: OFBIZ-10839
> URL:
https://issues.apache.org/jira/browse/OFBIZ-10839> Project: OFBiz
> Issue Type: Bug
> Components: product
> Affects Versions: 17.12.01
> Reporter: zhangqing
> Priority: Major
>
> The reason is that these code should be commented in the method "scaleImageInAllSize".
> it located in the named "ScaleImage.java" file.
> The code is that:
> if (fileLocation.lastIndexOf('/') != -1) {
> fileLocation = fileLocation.substring(0, fileLocation.lastIndexOf('/') + 1); // adding 1 to include the trailing slash
> }
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)