-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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 bug when a user delete but assigned on issue #3318
Conversation
fdd8ff7
to
cc2a128
Compare
Codecov Report
@@ Coverage Diff @@
## master #3318 +/- ##
==========================================
- Coverage 35.09% 35.07% -0.02%
==========================================
Files 279 279
Lines 40522 40526 +4
==========================================
- Hits 14220 14215 -5
- Misses 24201 24209 +8
- Partials 2101 2102 +1
Continue to review full report at Codecov.
|
if !IsErrUserNotExist(err) { | ||
return err | ||
} | ||
c.OldAssignee = NewGhostUser() |
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.
Why not unassign the issue? 🤔
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.
Issue is unassigned afaik, this is just comment that issue was assigned to user
wiil fix #3314