Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-590

TaskBoard.jspa contains JS for all JIRA users, not just those in the project

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • Release 3.1.1
    • Release 2.5.1
    • None
    • None
    • JIRA 3.12.2-#300
      FireFox 3.0
      Windows XP SP 2

      My TaskBoard.jsp is 600KB+ in size, not including the combined-boards-2.5.1.js.

      When looking why I found a line that contains this pattern:

      el.options[el.length]= new Option("aabo","aabo");
      if(sel == "aabo")el.options[el.length-1].selected=true;

      It does this for 2659 users !!!! My project only has a handful of users.

      The JS and CSS (although the CSS is minimal) are almost 600KB in size on their own, not including combined-boards-2.5.1.js!

      The culprits are the setPOptions(), setAOptions() and setReporterOptions() JS functions.

              jchuet JC
              34c43f2f-47b8-472c-92c4-9bb9ac14232d Deleted Account (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

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