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

Roadmap gadget is blank when it tries to render a version that has no description (on Oracle)

    XMLWordPrintable

Details

    Description

      The roadmap gadget is left blank if the time frame includes a version that has no description and JIRA is connected to Oracle.

      Basically, here is what happens:

      1. The user creates a Version with no description.
      2. JIRA tries to save the description as "", but Oracle saves this as NULL.
      3. JIRA returns a version from the roadmap REST endpoint with no description field.
      4. The roadmap portlet barfs when trying to execute:
      AJS.$("<td/>").addClass("versionDesc").attr("colSpan", 2).text(ver.description).appendTo(tr);
      

      This does not seem to be a problem on databases that are able to save the "" rather than NULL.

      You can use the attached XML to reproduce the problem in any database as I have manually made the description of the only version NULL.

      Regards,
      Brenden.

      Attachments

        Activity

          People

            mlassau Mark Lassau (Inactive)
            bbain bain
            Votes:
            19 Vote for this issue
            Watchers:
            12 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: