https://sourceforge.net/p/forge/site-support/9746/
[forge:site-support:#9746]
I tried to change the permission of discussion "post (Post comments, subject to moderation)", from "anonymous" to "member". It gave me the error:
Error 500
We're sorry but we weren't able to process this request.
Where was I wrong?
Thanks.
Steven.
I was able to duplicate this issue
Fix on branch db/7839
This occurs only if the data for project roles somehow has an unnamed role assigned to permissions, which I don't think is possible with the current UI. The error is:
You can reproduce this by creating a new Group in the main permissions page. Then go to a tool's permission page and assign that group to a specific permission. Then remove the group's (role's) name in mongo with:
db.project_role.update({name:'myname'}, {$set: {name:null}})
. Then on the tool permission page you'll see "None" show, and if you try to delete it or make other changes to that permission, you get the error.Looks good; clear to merge.
Thanks