You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Deepak Dixit (JIRA)" <ji...@apache.org> on 2019/02/19 08:37:00 UTC
[jira] [Commented] (OFBIZ-10839) It will be failed when you Upload
a image to product content
[ 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)