Private upload incorrectly thinks a .svn folder is a file
pufuwozu - October 31, 2008 - 01:19
| Project: | Private Upload |
| Version: | 6.x-1.0-rc2 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | won't fix |
Jump to:
Description
I have my Drupal project committed into SVN and the Private Upload module kept reporting something similar to:
There are '2' files in the private folder, and the DB thinks there are '1' private files.
I then found out I was getting this message because of my ".svn" folder in that directory. I've attached a patch that ignores the ".svn" directory but it might be best if Private Upload can ignore all directories in the private folder.
Thanks!
| Attachment | Size |
|---|---|
| private_upload.patch | 529 bytes |

#1
Most people don't keep files directories in svn, as they are under the control of Drupal.