Prevent resetting error if work item is empty

What does this MR do and why?

This MR ensures that we display error if work item is null

How to set up and validate locally

  1. In private project, create a work item from root account.
  2. Copy the link to the work item.
  3. Log out and log in as a user without project permissions
  4. Open the copied link.
  5. You should see an empty state with an error

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading