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:38:00 UTC

[jira] [Closed] (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:all-tabpanel ]

Deepak Dixit closed OFBIZ-10839.
--------------------------------
    Resolution: Duplicate

> 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)