Uploaded image for project: 'FishEye'
  1. FishEye
  2. FE-6636

JS error when NPS plugin is being initialized after Analytics was enabled

    XMLWordPrintable

Details

    Description

      Seems like Fecru data providers are not defined for every web resource which uses them, thus some time the code may fail with JS undefined error

      com.atlassian.plugins.atlassian-nps-plugin:nps-util.js:3 Uncaught TypeError: Cannot read property 'toLowerCase' of undefined
      

      HTR

      Make sure admin didn't ack on NPS data dialog.

      1. Start Fisheye&Crucible debug instance by ant debug
      2. Enable analytics
      3. Refresh page, NPS initializer will catch analytics settings had changed
        1. NPS tries to initialize itself and shows Acknowledge Dialog
        2. It requires fecru.js which is required by all resources in the scope
        3. But FECRU data providers are not, thus Product.getProductName fails miserably

      Attachments

        Issue Links

          Activity

            People

              glewandowski Grzegorz Lewandowski
              glewandowski Grzegorz Lewandowski
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 7m
                  7m