Fix work item comments not loading when fetched by iid
What does this MR do and why?
The fetchByIid
did not get passed to the <work-item_comment-form />
component.
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
- Enable ALL the feature flags:
Feature.enable(:use_iid_in_work_items_path)
Feature.enabled?(:okrs_mvc)
Feature.enable(:work_items_mvc)
Feature.enable(:work_items_mvc2)
- Create a new OKR (Issues -> New Issue button dropdown -> OKR)
- Go to the OKR
- See the error
Example error in production: https://gitlab.com/gitlab-org/plan-stage/tasks-testing/-/work_items/15?iid_path=true
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 Nicolas Dular