Uploaded image for project: 'RAML Module Builder'
  1. RAML Module Builder
  2. RMB-336

Datetime and date-only query parameters are not converted to java.util.Date

    XMLWordPrintable

Details

    • Core: Platform

    Description

      Steps to reproduce for datetime:

      1. Set `datetime` type for the query parameter.
      2. Send request with following datetime value: `2016-02-28T16:41:41.090Z`.

      Expected result:
      The query parameter is successfully converted to `java.util.Date`.

      Actual result:
      The query parameter is `null`.

      Steps to reproduce for date-only:

      1. Set `date-only` type for the query parameter.
      2. Send request with following date value: `2015-05-23`.

      Expected result:
      The query parameter is successfully converted to `java.util.Date`.

      Actual result:
      The query parameter is `null`.

      Date format patterns are taken from https://github.com/raml-org/raml-spec/blob/master/versions/raml-10/raml-10.md#date

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                opoch Oleh Pochernin
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases