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

database report input date wrong

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Configuration
    • 1.8.17
    • 1.10.1
    • Reports / Statsd
    • Security Level: Default (Default Security Scheme)
    • None
    • 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

            desloge Donald Desloge (Inactive)
            djrfnet dj he (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

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