Description of problem: AsyncComponent is using toString to compare loader prop https://github.com/openshift/console/blob/master/frontend/public/components/utils/async.tsx#L11 in case of dynamic plugin coderef, the toString always returns () => __awaiter(void 0, void 0, void 0, function* () { return loadReferencedObject(ref, entryModule, pluginID, errorCallback); }) which causes AsyncComponent to not reload the loader because sameLoader returns false positive Version-Release number of selected component (if applicable): 4.8 How reproducible: always Steps to Reproduce: 1. add two `console.page/resource/list` extensions to dynamic plugin 2. add two `console.navigation/resource-ns` which will reference the list pages from step 1 3. try switching the pages from the navigation - the URL changes but component does not Actual results: AsyncComponent does not use the new loader causing page to not rerender Expected results: page rerenders
Putting the issue on medium since its only effecting dynamic-plugins which are tech-preview.
Unsetting the version since this fix should be moved to 4.9
ClusterVersion: 4.9.0-0.nightly-2021-08-22-070405 Steps to verify: 1. add two `console.page/resource/list` extensions to dynamic plugin 2. add two `console.navigation/resource-ns` which will reference the list pages from step 1 3. try switching the pages from the navigation - the URL changes but component does not Now page re-renders.
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.9.0 bug fix and security 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-2021:3759