Open Mcmester92 opened 9 years ago
I have update with this
Can you try to edit file vendor/johnitvn/yii2-rbac-plus/src/models/AuthItem.php
add comment to line 98.
Tell me if it worked. I will release a hotfix version
Yes it is working. Thanks for your fast help, and we are looking forward for your hotfix :)
I have release v1.0.4
Thanks! :) 2015.09.07. 14:58 ezt írta ("John Martin" notifications@github.com):
I have release v1.0.4
— Reply to this email directly or view it on GitHub https://github.com/johnitvn/yii2-rbac-plus/issues/9#issuecomment-138291451 .
Hmm now that i checked it, I see that you only disabled beforeSave() method. I wrote in the issue, that afterSave() method kills the code too :S I commented out from the code, as you can see on the attachment, and now it finally works. When you asked me yesterday to try it, afterSave() was already commented out, and I forgot to mention that. It is my bad, sorry for that.
I have been update. I will take time for upgrade this extension soon, but not at the moment. I'm going to make it more stable
Thanks again! :)
2015-09-08 17:52 GMT+02:00 John Martin notifications@github.com:
I have been update. I will take time for upgrade this extension soon, but not at the moment. I'm going to make it more stable
— Reply to this email directly or view it on GitHub https://github.com/johnitvn/yii2-rbac-plus/issues/9#issuecomment-138606850 .
I have been update. I will take time for upgrade this extension soon, but not at the moment. I'm going to make it more stable
wheeeeeen? ^)
Hello!
We started to use your RBAC plus extension, and at the beginning it worked fine, but after the updates the assignment fails. We tracked the error message, and it seems that the beforeSave() and afterSave() methods cause the crash, in yii2-rbac-plus/src/models/AuthItem.php line 98 and 123. I attached 2 screenshots, about the issue.
Thanks in advance!