Project-Id-Version: Trac 0.12
POT-Creation-Date: 2008-01-30 09:20+0100
PO-Revision-Date: 2010-07-19 23:05+0200
Last-Translator: Jeroen Ruigrok van der Werven <>
Language-Team: en_US <>
Plural-Forms: nplurals=2; plural=(n != 1)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Generated-By: Babel 0.9.6

Warning: Can't synchronize with repository "(default)" (Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? ). Look in the Trac log for more information.

Ticket #85 (closed bug: worksforme)

Opened 10 years ago

Last modified 10 years ago

User with 0 quota, file uploaded shows up in "My Files" even it said "Could not upload"

Reported by: hood Owned by: sebastian
Priority: major Milestone: 2.2
Component: unspecified Version:
Keywords: Cc:


With user with 0 Byte quota.
I tried to upload a file (Since I thought 0 may means unlimited quota).
It said upload failed message, then I went to My Files section, the file actually shows up, and I couldn't delete this file.

Cheers, thanks for all the work!

Change History

comment:1 Changed 10 years ago by sebastian

  • Owner set to sebastian
  • Status changed from new to accepted

Thank you for reporting the bug.

Quota of 0 Byte should mean "no upload allowed". So your reported experience is a bug in upload() function of app/controllers/browser_controller.php.

I think having an upload quota covers the general case. I added also #73 to cover an global upload quota of the gallery.

Do you have cases where you need unlimited upload quota? If so, this unlimited quota feature could be added as the feature request.

I would like also to mention that phTagr could import media of external directories which are not considered in the quota check. phTagr reads and stores meta information to external directories, but never deletes these external files.

In contrast Internal files are uploaded files and are stored in the users upload directory in app/users/USER_ID/files.

comment:2 Changed 10 years ago by sebastian

  • Status changed from accepted to closed
  • Resolution set to worksforme

Fixed the quota check in r541 which denies the upload of files if quota is 0.

Note: See TracTickets for help on using tickets.