Closed (fixed)
Project:
User protect
Version:
7.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Mar 2012 at 19:54 UTC
Updated:
29 Aug 2014 at 20:00 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
scotthorn commentedComment #2
karschsp commentedI'm not actually able to reproduce this. Here's the steps I followed:
* Add a file field to user accounts.
* Create a user with only authenticated user role.
* Log in as that user, edit account, upload image, save.
* Edit account again, remove image, save.
* Log out
* Log in as administrator
* Edit the account of the user created above.
* Remove image
* Save
I didn't see any AJAX errors when going through those steps. What am I missing?
Comment #3
scotthorn commentedYou will also need to protect role changes for authenticated users at admin/config/people/userprotect/protected_roles. Sorry, I didn't realize that when I originally posted.
Just now I tried it on a clean install using sqlite and did not encounter the error. I repeated the test with a fresh MySQL install and did get the problem again. Thanks for responding, and for a great module!
Comment #4
scotthorn commentedComment #6
megachrizI couldn't reproduce the issue, but the removal of a role on the account object when that's not specifically needed is like playing with fire. Committed #1.