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

Projects gadged on dashboard causes "Internal Server Error" with empty project description

    XMLWordPrintable

Details

    Description

      If the description of a project is empty when using the Projects gadget on the dashboard you will receive an internal server error - IF you set the View to Detailed. The Collapsed and Brief views do not have this issue.

      The problem is at: com.atlassian.jira.gadgets.system.ProjectGadgetResource.getProjectDataNoPermissionCheck(ProjectGadgetResource.java:386)

      if ((showStats) && (project.getDescription().trim().length() != 0))

      { projectDescription = project.getDescription(); showDescription = true; }

      The getDescription() method should be checked for null before calling the .trim() method.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              83df7e9830a8 Brooke Hedrick
              Votes:
              5 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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