Description of problem: Selecting the "Edit RoleBinding Subject" action for a RoleBinding item on the list page causes the app to crash with an unhandled exception. Version-Release number of selected component (if applicable): 4.7 How reproducible: Always Steps to Reproduce: 1. Navigate to User Management > Role Bindings 2. Click the kebab dropdown for and RoleBinding item 3. Click "Edit RoleBinding Subject" Actual results: A runtime exception is thrown and the app white-screens in production Expected results: User should be presented with a form to edit the RoleBinding Additional info: Console error + stack trace Uncaught (in promise) TypeError: Cannot destructure property 'subjectKind' of 'this.props.fixed.subjectRef' as it is undefined. at new BaseEditRoleBinding (bindings.jsx:396) at constructClassInstance (react-dom.development.js:13308) at updateClassComponent (react-dom.development.js:16985) at beginWork$1 (react-dom.development.js:18505) at HTMLUnknownElement.callCallback (react-dom.development.js:347) at Object.invokeGuardedCallbackDev (react-dom.development.js:397) at invokeGuardedCallback (react-dom.development.js:454) at beginWork$$1 (react-dom.development.js:23217) at performUnitOfWork (react-dom.development.js:22208) at workLoopSync (react-dom.development.js:22185)
Checked on ocp 4.7 cluster with payload 4.7.0-0.nightly-2021-02-03-165316. 1. Navigate to User Management > Role Bindings 2. Click the kebab dropdown for and RoleBinding item 3. Click "Edit RoleBinding Subject", edit page is shown correctly without error in dev console. The bug is fixed.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:5633