Skip to content

Fix user activity page crash after importing gitlab export project

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.

image image image image

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Create a project A
  2. Create an issue I for A
  3. Create a comment for I
  4. Settings -> General -> Advanced -> Export project, export the project
  5. Create a Project B by importing the Gitlab export file
  6. 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.

Edited by Zehua Zhang

Merge request reports