Uploaded image for project: 'mod-data-export-spring'
  1. mod-data-export-spring
  2. MODEXPS-60

Attempting to send "schedulingDate" for EDI config returns error

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • P2
    • Resolution: Done
    • None
    • 1.3.0
    • None

    Description

      Purpose: Unable to save organization's EDI config with set "schedulingDate"

      Steps to reproduce on UI:
      1. Go to "Organizations" app in the snapshot environment
      2. Find an organization,  that has at least one account, and select it
      3. Find on details pane "Integration details" accordion and expand it
      4. Click "Add integration" button
      5. Fill required fields and check "Schedule EDI" checkbox on "Scheduling" accordion
      6. Select "Daily" as schedule period
      7. Set date on "Date (UTC)" field. Field other required fields
      8. Click "Save & Close" button

      Expected result: Organization's integration successfully saved

      Actual result: The server returns 500 error

       

      {"errors":[{"message":"Type definition error: [simple type, class java.time.OffsetDateTime]; nested exception is com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Java 8 date/time type `java.time.OffsetDateTime` not supported by default: add Module \"com.fasterxml.jackson.datatype:jackson-datatype-jsr310\" to enable handling\n at [Source: (PushbackInputStream); line: 1, column: 504] (through reference chain: org.folio.des.domain.dto.ExportConfig[\"exportTypeSpecificParameters\"]->org.folio.des.domain.dto.ExportTypeSpecificParameters[\"vendorEdiOrdersExportConfig\"]->org.folio.des.domain.dto.VendorEdiOrdersExportConfig[\"ediSchedule\"]->org.folio.des.domain.dto.EdiSchedule[\"scheduleParameters\"]->org.folio.des.domain.dto.ScheduleParameters[\"schedulingDate\"])","type":"HttpMessageConversionException","code":"500 INTERNAL_SERVER_ERROR"}],"total_records":1}
      

       

      TestRail: Results

        Attachments

          1. test-env.png
            test-env.png
            88 kB
          2. Verified.png
            Verified.png
            86 kB

          Issue Links

            Activity

              People

                usavkov Yury Saukou
                usavkov Yury Saukou
                Yury Saukou Yury Saukou
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases