Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-23136

The browse project page's javascript does not have error handler for ajax calls which leaves the page blank on error.

    XMLWordPrintable

Details

    Description

      Symptoms: You click on a tab on browse project page and nothing comes back from the ajax request. You either get a blank page or some badly formed JSON stuffed into the page.

      If the AJAX call to pull in the browse project page fails we don't display any error. This is because we have no error handler:

                          xhrObject = jQuery(jQuery.ajax({
                              method: "get",
                              dataType: "json",
                              url: url,
                              data: CONST.requestParams,
                              success: populateTab,
                          })).throbber({target: tab}); // lets use the throbber plugin, we will only see the throbber when the request is latent...
      

      This made finding JRA-23135 much harder than it should have been.

      Attachments

        Issue Links

          Activity

            People

              pleschev Peter Leschev
              bbain bain
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: