Hide Forgot
Description of problem: When building "@openshift-console/dynamic-plugin-sdk" (a.k.a core) distributable package of Console dynamic plugin SDK, we should use relative paths in exports which target types & code within the Console "console-dynamic-plugin-sdk" monorepo package. Steps to Reproduce: 1. clone Console repo 2. cd frontend ; yarn install 3. compare sources [1][2] with generated output in packages/console-dynamic-plugin-sdk/dist/core/lib [1] packages/console-dynamic-plugin-sdk/src/api/core-api.ts [2] packages/console-dynamic-plugin-sdk/src/api/dynamic-core-api.ts Each static "export { .. } from 'path'" statement should use a relative "path" value, which causes TypeScript compiler to process the exported types & code.
I can still see one export statement not using relative path in src/api/dynamic-core-api.ts export { checkAccess, useAccessReview, useAccessReviewAllowed, } from '@console/dynamic-plugin-sdk/src/app/components/utils/rbac'; Assigning back for confirmation
@yapei sorry for the delay. I just confirmed the issue you pointed out in https://bugzilla.redhat.com/show_bug.cgi?id=2053168#c3 has been addressed in master via PR: https://github.com/openshift/console/pull/11116. Moving back to QA for confirmation.
yes, the issue is fixed moving to VERIFIED
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 (Important: OpenShift Container Platform 4.11.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-2022:5069