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

Bynder Asset Date parsing problem

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an issue
    • Icon: Neutral Neutral
    • None
    • None
    • None

      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'

        Acceptance criteria

          1. Bildschirmaufnahme 2021-08-25 um 17.12.15.mov
            7.08 MB
            Pierre Sandrin
          2. Bildschirmaufnahme 2021-08-25 um 17.12.15-1.mov
            7.08 MB
            Laura Delnevo
          3. Bildschirmfoto 2021-08-31 um 09.18.15.png
            151 kB
            Pierre Sandrin
          4. Bildschirmfoto 2021-08-31 um 10.10.49.png
            870 kB
            Pierre Sandrin
          5. Bildschirmfoto 2021-08-31 um 10.10.49-1.png
            870 kB
            Pierre Sandrin
          6. bynder-error.log
            28 kB
            Carlos Cantalapiedra
          7. Screen Shot 2021-08-31 at 2.58.42 PM.png
            285 kB
            Yen Lac Tue
          8. Screen Shot 2021-08-31 at 3.02.08 PM.png
            258 kB
            Yen Lac Tue

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

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 1h 50m
                    1h 50m