Skip to content

Backport "Fix group page erroring because of nil user" to 16-6-stable-ee

Thong Kuah requested to merge cherry-pick-30a00a20 into 16-6-stable-ee

What does this MR do and why?

Related issue : #431659 (closed)

Backports !136786 (merged) to 16.6. It's a regression that first appeared in %16.5. No real workarounds exists for the small amount of users which this affects.

Fix group page erroring because of nil user

There are cases where the member's user does not exist. We fix this regression because the older version of this method did filter out rows where there were no records in the users table.

Changelog: fixed

See also #431659 (comment 1646831162)

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

  • This MR is backporting a bug fix, documentation update, or spec fix, previously merged in the default branch.
  • The MR that fixed the bug on the default branch has been deployed to GitLab.com (not applicable for documentation or spec changes).
  • This MR has a severity label assigned (if applicable).
  • This MR has been approved by a maintainer (only one approval is required).
  • Ensure the e2e:package-and-test-ee job has either succeeded or been approved by a Software Engineer in Test.

Note to the merge request author and maintainer

If you have questions about the patch release process, please:

Edited by Thong Kuah

Merge request reports