OCPBUGS-74647: Fix referenceFor parameter in SubscriptionDetailsPage#15957
OCPBUGS-74647: Fix referenceFor parameter in SubscriptionDetailsPage#15957openshift-merge-bot[bot] merged 1 commit intoopenshift:mainfrom
Conversation
The customActionMenu was incorrectly passing kindObj to referenceFor, when it should be passing obj. This aligns with the proper usage pattern for the referenceFor utility function. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
@rhamilto: This pull request references Jira Issue OCPBUGS-74647, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
Requesting review from QA contact: The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
@rhamilto: This pull request references Jira Issue OCPBUGS-74647, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/cherrypick release-4.21 release-4.20 |
|
@rhamilto: once the present PR merges, I will cherry-pick it on top of DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
📝 WalkthroughWalkthroughThe LazyActionMenu context key derivation in the subscription table row component has been updated to reference the actual subscription object instead of the kind model. The context mapping now uses 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
Comment |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jhadvig, rhamilto The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest |
1 similar comment
|
/retest |
|
@rhamilto: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
/assign @yapei |
|
/assign @XiyunZhao |
|
/verified by @XiyunZhao
BTW, the action list layout issue (The action button is incorrectly rendered as an action menu, as shown in the PR screenshot) on the Subscription details page will be tracked in a separate bug @rhamilto |
|
@XiyunZhao: This PR has been marked as verified by DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
@rhamilto: Jira Issue Verification Checks: Jira Issue OCPBUGS-74647 Jira Issue OCPBUGS-74647 has been moved to the MODIFIED state and will move to the VERIFIED state when the change is available in an accepted nightly payload. 🕓 DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
@rhamilto: new pull request created: #15984 DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
🤦 Good catch, @XiyunZhao. |

After
Summary
referenceForfunction inSubscriptionDetailsPagekindObjtoobjto align with properreferenceForusage patternDetails
In the
customActionMenuprop ofSubscriptionDetailsPage, thereferenceForfunction was being called withkindObjinstead ofobj. ThereferenceForutility expects a resource object, not a kind/model object, so this change ensures the correct parameter is passed.Test plan
LazyActionMenu🤖 Generated with Claude Code
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.