juanferrub/liferay-portal — pull request #287 by KocsisDaniel (2012-08-02 09:34:27+00:00)
Title: [TECH SUPPORT] LPS-28094

Hi Juan,

The rootcause of the issue is the renameTo method fails silently except its return value is False that we don't check now, so this is how the file remains on the original folder. In AdvancedFileSystemStore after a given number of documents we introduce a new directory level because of grouping, but the directories in that level doesn't created physically so the renameTo will fail to move something to these folders.

However the fix for the is pretty simple I think we have to make sure this small change works well, so I asked Vilmos to create test for it as well.

Thanks,
Daniel