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

The browse project tabs can fail when their content is large enough.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 4.2.3, Bugfix Release
    • 4.0, 4.1, 4.2
    • None
    • Firefox 3.6.x Linux Ubuntu 10/10 but will eventually happen on every browser if the returned JSON is big enough.

    Description

      Symptoms: You click on a project tab and you get nothing back and/or you get the raw text "

      {content: ......}

      " on the page.

      When you click on a tab on the browse project page we do a request to the server which returns JSON of the form:

      {content: "<html>"}

      . If the <html> part is large enough Firefox may actually fail to parse the JSON blob and issue an "script stack space quota is exhausted" error. This is cause by some funky looking regex that jQuery uses to validate that the text returned from an XHR call is actually JSON.

      Different OSes and versions of browsers have different stack limits. For example, Firefox seems to have a much smaller javascript stack on Linux when compared to Windows or MacOS. In general Chrome has a much larger stack than Firefox.

      The ajax call throws an error but JIRA has no error handler on the jQuery.ajax parameters so we don't see it. This is documented in the linked issue.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: