Uploaded image for project: 'Crucible'
  1. Crucible
  2. CRUC-6941

REST API toDate & fromDate parameters aren't enforced

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Low
    • Resolution: Invalid
    • 2.10.1, 3.3.0, 3.5.1
    • None
    • Integrations

    Description

      The REST API /rest-service/reviews-v1/filter? isn't picking up the fromDate & toDate parameters.

      For example when submitting the below URL;

      /rest-service/reviews-v1/filter?project=GP&states=Closed

      All closed reviews are shown as expected, however when adding an extreme fromDate parameter with a value such as =8910096081 (Sat, 08 May 2252 02:41:21 GMT) all the closed reviews still show.

      Also when the toDate parameter is included no results are returned.

      So for the URL _/rest-service/reviews-v1/filter?
      project=GP&states=Closed&fromDate=1410096081&toDate=1411464440_ no results are returned whereas if the toDate param is removed all closed reviews are shown.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              chparker ♚♛♜♝♞♟♔♕♖♗♘♙ (Inactive)
              Votes:
              4 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: