Fix user activity page crash after importing gitlab export project
requested to merge gitlab-jh/jh-team/gitlab:fix/events-broken-after-importing-gitlab-export-project into master
What does this MR do and why?
Describe in detail what your merge request does and why.
Fix issue #353421
Screenshots or screen recordings
These are strongly recommended to assist reviewers and reduce the time to merge your change.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Create a project A
- Create an issue I for A
- Create a comment for I
- Settings -> General -> Advanced -> Export project, export the project
- Create a Project B by importing the Gitlab export file
- An error occurs when accessing the User Activity page
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Zehua Zhang