Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix assignment to
cm.AssigneeID
when importing comments (#22528)
This is a fix for #22510 The code assumed that the `AssigneeID` from the comment YAML was an `int64`, but it is actually an `int`, causing a panic. It also had no check on whether the type cast was actually valid, so badly formatted YAML could also cause a panic. Both these issues have been fixed.
- Loading branch information