Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-5425

Creating an ApplicationSet breaks ui

XMLWordPrintable

    • False
    • None
    • False
    • Important
    • No

      Description of problem:

      creating an ApplicationSet with multiple sources breaks the UI, ApplicationSet will be attached

      tested with ACM 2.8 dev-version and GitopsOperator 1.8.1
      customer tested with ACM 2.7

      the error is:

      Stack trace:
      TypeError: Cannot read properties of undefined (reading 'path')
      at t.getApplicationRepos (https://console-openshift-console.apps.policy-grc-cp-autoclaims-pbzgs.dev08.red-chesterfield.com/api/plugins/acm/323.8078d7fa.js:1:11144)
      at https://console-openshift-console.apps.policy-grc-cp-autoclaims-pbzgs.dev08.red-chesterfield.com/api/plugins/acm/323.8078d7fa.js:1:13125
      at Array.map (<anonymous>)
      at https://console-openshift-console.apps.policy-grc-cp-autoclaims-pbzgs.dev08.red-chesterfield.com/api/plugins/acm/323.8078d7fa.js:1:13513
      at Object.useMemo (https://console-openshift-console.apps.policy-grc-cp-autoclaims-pbzgs.dev08.red-chesterfield.com/static/vendors~main-chunk-d016eb3bffbfe8cee1da.min.js:254:64802)
      at t.useMemo (https://console-openshift-console.apps.policy-grc-cp-autoclaims-pbzgs.dev08.red-chesterfield.com/static/vendors~main-chunk-d016eb3bffbfe8cee1da.min.js:246:5743)
      at t.default (https://console-openshift-console.apps.policy-grc-cp-autoclaims-pbzgs.dev08.red-chesterfield.com/api/plugins/acm/323.8078d7fa.js:1:13505)
      at na (https://console-openshift-console.apps.policy-grc-cp-autoclaims-pbzgs.dev08.red-chesterfield.com/static/vendors~main-chunk-d016eb3bffbfe8cee1da.min.js:254:58879)
      at za (https://console-openshift-console.apps.policy-grc-cp-autoclaims-pbzgs.dev08.red-chesterfield.com/static/vendors~main-chunk-d016eb3bffbfe8cee1da.min.js:254:68397)
      at Hs (https://console-openshift-console.apps.policy-grc-cp-autoclaims-pbzgs.dev08.red-chesterfield.com/static/vendors~main-chunk-d016eb3bffbfe8cee1da.min.js:254:112073)
      

      Steps to Reproduce:

      1. ...

      Actual results:

      Expected results:

      Additional info:

            fxiang@redhat.com Feng Xiang
            rhn-support-cstark Christian Stark
            Maggie Chen Maggie Chen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: