Comments are not loading on older issues

Summary

On older issues, comments are not loading at all

Steps to reproduce

  1. Go to gitlab-foss#3299 (closed) and notice that comments are not loading

Example Project

gitlab-foss#3299 (closed)

What is the current bug behavior?

Comments are not loading

What is the expected correct behavior?

Comments are loading. They can be seen as existing in the GraphQL console in the response to the workItemNotesByIid operation.

Relevant logs and/or screenshots

image image

Output of checks

This bug happens on GitLab.com

Possible fixes

https://gitlab.com/gitlab-community/gitlab-org/gitlab/-/blob/6280ced4bafa8af9933c8e968600f14fe0f70be0/app/assets/javascripts/work_items/components/work_item_notes.vue#L502

Patch release information for backports

If the bug fix needs to be backported in a patch release to a version under the maintenance policy, please follow the steps on the patch release runbook for GitLab engineers.

Refer to the internal "Release Information" dashboard for information about the next patch release, including the targeted versions, expected release date, and current status.

High-severity bug remediation

To remediate high-severity issues requiring an internal release for single-tenant SaaS instances, refer to the internal release process for engineers.

Edited by 🤖 GitLab Bot 🤖