Can't change user profile picture when there is no more quota available
Steps to reproduce
- In browser 1, as the admin user, create a new user
- In browser 2, log in as the new user, select personal from the user drop down
- Set the profile picture (no need to log out)
- Back in browser 1, change the user quota to 0.
- Back in browser 2, click "Select new from Files" to change the profile picture.
The user is not allowed to select a new photo and gets a broken image.
Change the quota back to a non-zero value and the user in browser 2 can modify their profile picture
Expected behaviour
The user should be able to change their profile picture. Even if they aren't able to change it, they should get a better error message
Actual behaviour
The user can't change their profile picture and the error message is not helpful.
Server configuration
ownCloud version: (see ownCloud admin page)
ownCloud 7.0.1 (daily) Build:2014-08-20T03:18:51+00:00
cc @Kondou-ger
Will be obsoleted by moving avatars outside the "files" folder here: https://github.com/owncloud/core/issues/26124
Closing
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.