Details
-
Bug
-
Resolution: Fixed
-
Low
-
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.
-
4
-
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
- is related to
-
JRASERVER-23136 The browse project page's javascript does not have error handler for ajax calls which leaves the page blank on error.
- Closed