Uploaded image for project: 'OCMUI - OpenShift Cluster Manager UI'
  1. OCMUI - OpenShift Cluster Manager UI
  2. OCMUI-3972

Browser console logs indicated uncaught exceptions and warning while accessing local OCM UI server.

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • True
    • OCMUI Team Sprint 279

      Environment: local env from main branch 

      Url: https://prod.foo.redhat.com:1337/openshift/overview

      Browser: All browsers

      OS:

      Priority : Normal{}

      Reproduction steps:

      1. Launch local OCM UI server from main branch (used yarn start) 
      2. Once the server is ready, Access the https://prod.foo.redhat.com:1337/openshift/overview
      3. Login with credentials.
      4. Review the browser console logs

      Current Result:

      Browser console logs reports uncaught exceptions and warning while accessing local OCM UI env.

      For example

      vendors-node_modules_redhat-cloud-services_entitlements-client_dist_esm_index_js-node_modules-50649d.fcde6a25395f9884.js:59503  Uncaught ReferenceError: Cannot access 'We' before initialization
          at Module.default (AstroVirtualAssistant.945d1f74a412d52554bd.js:1:186)
          at vendors-node_modules_scalprum_react-core_esm_index_js.73c9558dcd2ba5d6.js:37:39
          at step (chrome-root.1f929ab2a71b0fd9.js:84538:21)
          at Object.next (chrome-root.1f929ab2a71b0fd9.js:84519:51)
          at chrome-root.1f929ab2a71b0fd9.js:84512:69
          at new Promise (<anonymous>)
          at __awaiter (chrome-root.1f929ab2a71b0fd9.js:84508:10)
          at loadComponent (vendors-node_modules_scalprum_react-core_esm_index_js.73c9558dcd2ba5d6.js:21:60)
          at vendors-node_modules_scalprum_react-core_esm_index_js.73c9558dcd2ba5d6.js:358:106
          at step (chrome-root.1f929ab2a71b0fd9.js:84538:21)
          at Object.next (chrome-root.1f929ab2a71b0fd9.js:84519:51)
          at chrome-root.1f929ab2a71b0fd9.js:84512:69
          at new Promise (<anonymous>)
          at __awaiter (chrome-root.1f929ab2a71b0fd9.js:84508:10)
          at setComponentFromModule (vendors-node_modules_scalprum_react-core_esm_index_js.73c9558dcd2ba5d6.js:354:60)
          at vendors-node_modules_scalprum_react-core_esm_index_js.73c9558dcd2ba5d6.js:408:32 
      Warning: Each child in a list should have a unique "key" prop.Check the render method of `RecommendedOperatorsCards`. See https://reactjs.org/link/warning-keys for more information.
          at GalleryItem (https://prod.foo.redhat.com:1337/apps/openshift/js/node_modules_patternfly_react-core_dist_esm_layouts_Gallery_index_js-_4dbb0.js:63:11)
          at RecommendedOperatorsCards (https://prod.foo.redhat.com:1337/apps/openshift/js/node_modules_monaco-editor_esm_vs_base_common_worker_lazy_recursive_-node_modules_monaco-edit-4a1200.js:111274:38)
          at section
          at PageSection (https://prod.foo.redhat.com:1337/apps/openshift/js/vendors-node_modules_patternfly_react-core_dist_esm_components_Page_index_js.js:383:11)
          at ErrorBoundary 
      

      **

      Expected Result:

      There shouldn't be any uncaught exceptions and warning while accessing local OCM UI env. 

      Note: No impact on OCMUI functionality.

      Please find the attached browse console logs  prod.foo.redhat.com.log

              zherman Zac Herman
              jmekkatt@redhat.com Jayakrishnan Mekkattillam
              Aleš Pecha Aleš Pecha
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: