-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
fix: Unable to create new role if beforeSave
hook exists
#8474
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Unable to create new role if beforeSave
hook exists
#8474
Conversation
Thanks for opening this pull request! |
beforeSave
hook exists
This PR has been opened against the LTS branch. Could you change the base branch to |
Thanks, let's see what the CI says there... |
@mtrezza PR on alpha branch desired test cases is passing. The failing ones look like flaky test cases. The issue is on the LTS branch. |
Yes, so this issue is a 5.x issue, good to know. See #8473 (comment). |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## release-5.x.x #8474 +/- ##
=================================================
- Coverage 94.12% 94.10% -0.02%
=================================================
Files 183 183
Lines 13776 13776
=================================================
- Hits 12966 12964 -2
- Misses 810 812 +2
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
@mtrezza I updated the code to fix the issue. But the random test flows are breaking. |
It seems to be just a flaky test. I've restarted the test, it should pass. |
Not sure if you can restart tests with your permissions. I can do that, so I'll just restart until they all pass. |
@mtrezza thanks. Can this PR be reviewed now. |
All the test pass, so that's good; let's just wait for another review and merge. |
@mtrezza by when this PR can be merged and released? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
## [5.4.3](5.4.2...5.4.3) (2023-03-22) ### Bug Fixes * Unable to create new role if `beforeSave` hook exists ([#8474](#8474)) ([4f0f0ec](4f0f0ec))
🎉 This change has been released in version 5.4.3 |
Unable to save role when before save hook is present on role.
Closes: #8473