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

XMLWordPrintable

    • 4
    • 2

      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.

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

              Created:
              Updated:
              Resolved: