You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "zhangqing (JIRA)" <ji...@apache.org> on 2019/02/19 07:45:00 UTC

[jira] [Created] (OFBIZ-10839) It will be failed when you Upload a image to product content

zhangqing created OFBIZ-10839:
---------------------------------

             Summary: 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


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)