You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by mr...@apache.org on 2009/12/15 21:20:36 UTC

svn commit: r890973 - /ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/config/EditProductConfigItemContent.groovy

Author: mrisaliti
Date: Tue Dec 15 20:20:35 2009
New Revision: 890973

URL: http://svn.apache.org/viewvc?rev=890973&view=rev
Log:
Error when uploading image on 'Edit Product Config Item Content' screen (OFBIZ-3308)

Modified:
    ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/config/EditProductConfigItemContent.groovy

Modified: ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/config/EditProductConfigItemContent.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/config/EditProductConfigItemContent.groovy?rev=890973&r1=890972&r2=890973&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/config/EditProductConfigItemContent.groovy (original)
+++ ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/config/EditProductConfigItemContent.groovy Tue Dec 15 20:20:35 2009
@@ -82,7 +82,7 @@
     context.fileType = fileType;
 
     fileNameToUse = "productConfigItem." + configItemId;
-    fileLocation = filenameExpander.expandString(['size', fileType, configItemId, configItemId]);
+    fileLocation = filenameExpander.expandString([size : fileType, configItemId : configItemId]);
     filePathPrefix = "";
     filenameToUse = fileLocation;
     if (fileLocation.lastIndexOf("/") != -1) {