Log message in JQL upgrade task always prints 'null' for query

XMLWordPrintable

    • Type: Bug
    • Resolution: Obsolete
    • Priority: Low
    • None
    • Affects Version/s: 4.0
    • Component/s: JQL
    • 4

      During the namifying of queries from XML in Upgrade Task 428, if an exception is caught it is logged along with the query. However, the query is always logged as 'null' because we call #getQueryString() instead of #toString() on the QueryImpl object.

      log.warn("Could not namify the query: '" + queryFromXml.getQueryString() + "'", e);
      

            Assignee:
            Unassigned
            Reporter:
            Michael Tokar
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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