Uploaded image for project: 'SR for Bitbucket - Development'
  1. SR for Bitbucket - Development
  2. SRBITB-939

Listeners configuration page crashes if listener configuration with no events is present

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Done
    • Priority: L1
    • Resolution: Done
    • Affects Version/s: 6.19.0
    • Fix Version/s: 6.19.1
    • Labels:
    • Sprint:
      DevTools 94
    • Critical Points:
      0

      Description

      Some listeners did not have any event classes registered in the past, specifically Check delete branch checkbox.

      The absence of events in the listener configuration is causing a UI crash and refresh loop when listing the configurations.

      react_devtools_backend.js:2430 TypeError: Cannot read property 'length' of null
          at Ju (combinedAdminSection.4a91dacce416ba605298.js?_statichash=d41d8cd98f00b204e9800998ecf8427e-CDN%2F-1988828299%2Fc1d4c02%2F1578%2F6.19.0:2)
          at Yi (reactVendor.4a91dacce416ba605298.js?_statichash=d41d8cd98f00b204e9800998ecf8427e-CDN%2F-1988828299%2Fc1d4c02%2F1578%2F6.19.0:2)
          at ba (reactVendor.4a91dacce416ba605298.js?_statichash=d41d8cd98f00b204e9800998ecf8427e-CDN%2F-1988828299%2Fc1d4c02%2F1578%2F6.19.0:2)
          at bu (reactVendor.4a91dacce416ba605298.js?_statichash=d41d8cd98f00b204e9800998ecf8427e-CDN%2F-1988828299%2Fc1d4c02%2F1578%2F6.19.0:2) 

        Attachments

          Activity

            People

            Assignee:
            rlander Reece Lander
            Reporter:
            rlander Reece Lander
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: