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
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!

AttachmentSize
private_upload.patch529 bytes

#1

Jody Lynn - November 29, 2009 - 16:24
Status:needs review» won't fix

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

 
 

Drupal is a registered trademark of Dries Buytaert.