Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-69718

Maximum call stack size exceeded on New Issue View

    XMLWordPrintable

Details

    Description

      Summary

      When an app opens a new dialog box from the New Issue view (this is a dialog opened when an issue is clicked), and the user submits it, an error is thrown:

      Uncaught RangeError: Maximum call stack size exceeded.
          at Object.trigger (batch.js?adg3Enabled=true&locale=en-US:118)
          at HTMLButtonElement.<anonymous> (batch.js?adg3Enabled=true&locale=en-US:133)
          at Function.each (batch.js?adg3Enabled=true&locale=en-US:70)
          at init.each (batch.js?adg3Enabled=true&locale=en-US:63)
          at init.trigger (batch.js?adg3Enabled=true&locale=en-US:133)
          at init.c.fn.(/secure/anonymous function) [as _focus] (https://d265epinkb1tkr.cloudfront.net/atl-vertigo--shard-jira-prod-us-2--3--jres.atlassian.net/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-2zeky4/b/6/24b45da91169b35b1ed0c356f0e89083/_/download/contextbatch/js/_super/batch.js?adg3Enabled=true&locale=en-US:134:421)
          at init.focus (batch.js?adg3Enabled=true&locale=en-US:861)
          at HTMLDocument.j (batch.js?adg3Enabled=true&locale=en-US:667)
          at HTMLDocument.dispatch (batch.js?adg3Enabled=true&locale=en-US:120)
          at HTMLDocument.h (batch.js?adg3Enabled=true&locale=en-US:112)
      

      is returned and the form not submitted.

      Steps to replicate

      1. Install "Issue Templates" app
      2. Go to a software project which has a board
      3. Go to an active board and select an issue. Make sure that the "Open issues in a dialog" is enabled
      4. Click on an issue, which will result in a new dialog showing details of the issue
      5. Click on More or (...) icon to display more options
      6. Click on "Apply template" (from Issue Templates), which will open a new dialog for the user to submit
      7. Select any template and submit and error is thrown.

      Investigation

      Replicated on cloud instance. I think this is because you have to many dialogs opened. When you try to submit a form using the "Open issues in sidebar" option, the app's form from the dialog is successfully submitted

      More details in the supporting ticket

      Attachments

        Issue Links

          Activity

            People

              zwang@atlassian.com Ziming Wang
              acalantog Anne Calantog
              Votes:
              4 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: