Category limitation unrespected

Phoca Gallery - image gallery extension
Chico008
Phoca Member
Phoca Member
Posts: 11
Joined: 05 Sep 2014, 17:43

Category limitation unrespected

Post by Chico008 »

Hi

I foud an issue in the component.

I create a category per user, to let them upload their picture.
I set the category to 20Mb each max.

When i user the 'User Control Pannel', and tried to upload a picture that will make the limitation reach, i have a error, saying i already won to much data : that's OK.

But when i upload a picture, using the upload form in category view (not in user control panel), the limitation isn't check, and i can upload all the pictures i want, regardless my category limitation.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Category limitation unrespected

Post by Jan »

Hi, yes, this is right. So it should work:

UCP - there is a limit which is checked - as only the one user is able to upload images there.

Category View - there is no limit to check user as for the category upload, there can upload all users who have rights, so the category is not fixed to user so there cannot be limit.

Jan
If you find Phoca extensions useful, please support the project
Post Reply