Uploaded image for project: 'External DAMs'
  1. External DAMs
  2. EXTDAM-283

Bynder Asset Date parsing problem

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Neutral
    • Resolution: Not an issue
    • None
    • None
    • None

    Description

      Steps to reproduce

      1.  Enable Bynder Connector with credentials:
        1. bynderPortalURL: [URL/]
        2. permanentToken: Permanent token from Passwords App
      2.  Open Bynder Tab in Assets Content App
      3. Check the assets are displayed
      4. Select and asset and check an error is thrown

      Expected results

      Bynder Assets should be selectable in Content App

      Actual results

      An Error is Displayed in AdminCentral:

      Text '2021-07-27T15:04:04.707Z' could not be parsed at index 19 (check attached log for the full stack trace)

      Workaround

      N/A

      Development notes

      In class BynderAsset the date is parsed with this format


      inputFormatter
      = DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss'Z'", Locale.ENGLISH);

      But it seems that we receive also the milliseconds '2021-07-27T15:04:04.707Z'

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                ccantalapiedra Carlos Cantalapiedra
                Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Jenkins Builds

                      No builds found.