You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2013/04/03 15:24:53 UTC
svn commit: r1463997 - in /ofbiz/branches/release10.04: ./
applications/content/src/org/ofbiz/content/data/DataResourceWorker.java
Author: jacopoc
Date: Wed Apr 3 13:24:52 2013
New Revision: 1463997
URL: http://svn.apache.org/r1463997
Log:
Applied fix from trunk for revision: 1463989
===
OFBIZ-5167 Applied patch from Leon to fix a wrong array index that was causing the proliferation of subfolders in the runtime/uploads directory.
Modified:
ofbiz/branches/release10.04/ (props changed)
ofbiz/branches/release10.04/applications/content/src/org/ofbiz/content/data/DataResourceWorker.java
Propchange: ofbiz/branches/release10.04/
------------------------------------------------------------------------------
Merged /ofbiz/trunk:r1463989
Modified: ofbiz/branches/release10.04/applications/content/src/org/ofbiz/content/data/DataResourceWorker.java
URL: http://svn.apache.org/viewvc/ofbiz/branches/release10.04/applications/content/src/org/ofbiz/content/data/DataResourceWorker.java?rev=1463997&r1=1463996&r2=1463997&view=diff
==============================================================================
--- ofbiz/branches/release10.04/applications/content/src/org/ofbiz/content/data/DataResourceWorker.java (original)
+++ ofbiz/branches/release10.04/applications/content/src/org/ofbiz/content/data/DataResourceWorker.java Wed Apr 3 13:24:52 2013
@@ -511,7 +511,7 @@ public class DataResourceWorker impleme
File[] subs = parent.listFiles();
for (int i = 0; i < subs.length; i++) {
if (subs[i].isDirectory()) {
- dirMap.put(Long.valueOf(subs[0].lastModified()), subs[i]);
+ dirMap.put(Long.valueOf(subs[i].lastModified()), subs[i]);
}
}
} else {