Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-5177

database report input date wrong

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Configuration
    • Affects Version/s: 1.8.17
    • Fix Version/s: 1.10.1
    • Component/s: Reports / Statsd
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:
      windows 7, server 2008

      Description

      the start date of database report, for example, "Availability by node", given to SQL statement is wrong.
      On the web UI, I typed in "2012-02-12", however, in the report.log, the debug info shows

      2012-02-13 16:32:41,074 DEBUG [13858055@qtp-27666092-4] JRJdbcQueryExecuter: SQL query string: SELECT
      'Sun Feb 2 16:00:00 +0800 2012'::TIMESTAMP AS start,
      'Sun Feb 2 16:00:00 +0800 2012'::TIMESTAMP + '1 Days'::INTERVAL AS end

      Pls verify. I am using version 1.8.17.

        Attachments

          Activity

            People

            • Assignee:
              desloge Donald Desloge
              Reporter:
              djrfnet dj he
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2 days, 2 hours
                2d 2h
                Remaining:
                Remaining Estimate - 2 days, 2 hours
                2d 2h
                Logged:
                Time Spent - Not Specified
                Not Specified