Open chemicalcosh opened 11 years ago
This looks like a bug in CAdvancedArBehavior for me. Need to investigate this. Thanks for reporting.
Any update?? I am facing the same problem whie tried to creat user after assign Usermanagemnt role to any user.
Property "YumRole.role_id" is not defined.
Pl help.
I am having a problem where if I create a role group, assign a user to that group and then they login the exception "Property "YumRole.role_id" is not defined" is thrown after they are sent to the following simple controller:
The users membership of the role is also removed in the mysql database table user_role when this exception is thrown(!)
In the method beforeAction() in YumController.php the following statement appears to be the cause of the error:
If I set:
To stop it from firing then the problem does not occur anymore.
I believe it is something to do with this relation in YumRole.php but have not quite figured out why yet ;)
Stack trace: