Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-27025

Audit search date filter does not work if beginDate equals endDate

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 9.10, 10.10, 11.1-SNAPSHOT
    • Fix Version/s: 9.10-HF30, 10.10-HF03, 11.1
    • Component/s: Audit, Web UI
    • Release Notes Summary:
      Audit search date filter works if beginDate equals endDate
    • Backlog priority:
      600
    • Sprint:
      nxGang Sprint 11.1.5
    • Story Points:
      1

      Description

      1. install nuxeo
      2. install web-ui
      3. go to the audit page
      4. select Authentication in the Event Category field
      5. observe today's login events are listed
      6. set the begin date to today's date
      7. observe the events are still listed as expected
      8. set the end date to today's date
      9. observe the events are gone
      10. checking the network payload in the google inspector tab the begin and end date are both using the same time:
        # {
          "params": {
            "providerName": "EVENTS_VIEW",
            "namedQueryParams": {
              "principalName": "",
              "startDate": "2019-02-14T00:00:00.000Z",
              "endDate": "2019-02-14T00:00:00.000Z"
            },
            "currentPageIndex": 0,
            "pageSize": 40
          },
          "context": {}
        }
        

      Expected behavior: today's events should be still listed
      Suggestion: when the beginDate equals endDate then the end time should be like 23:59:59 like

      {
        "params": {
          "providerName": "EVENTS_VIEW",
          "namedQueryParams": {
            "principalName": "",
            "startDate": "2019-02-14T00:00:00.000Z",
            "endDate": "2019-02-14T23:59:59.000Z"
          },
          "currentPageIndex": 0,
          "pageSize": 40
        },
        "context": {}
      }
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 5 hours
                  5h

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.