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

In S3, fix the delivery endpoint removing the incorrect metadata and the query string

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 1.0.9, 1.1.1
    • 1.1.0
    • s3
    • None

      Steps to reproduce

      1.  Create a link to an S3 asset within content (see attached image jcr) (this requires using the s3 external dam connector)
      2.  Try to retrieve this content via a delivery endpoint (see attached image endpoint) with this s3 link resolved and metadata included

      Expected results

      The @link node has the s3 URL without a datetimestamp appended to it.

      Actual results

      The @link node has the s3 URL with a datetimestamp appended to it. The timestamp is equal to time.now

      Example:

      "albumImage": {
      "@name": "LCWorship_Gloria_AlbumImage.jpg",
      "@path": "magnolia-cms-live/Media/Worship/gloria/LCWorship_Gloria_AlbumImage.jpg",
      "@id": "s3:magnolia-cms-live/Media/Worship/gloria/LCWorship_Gloria_AlbumImage.jpg",
      "@link": "https://magnolia-cms-live.s3.amazonaws.com/Media/Worship/gloria/LCWorship_Gloria_AlbumImage.jpg?1636056437809",
      "metadata":

      { "fileName": "LCWorship_Gloria_AlbumImage.jpg", "mimeType": "image/jpeg", "fileSize": "0", "height": "0", "width": "0", "format": "image/jpeg", "source": "magnolia-cms-live/Media/Worship/gloria/LCWorship_Gloria_AlbumImage.jpg", "date": "2021-11-04T20:07:17.809Z", "created": "2021-11-04T20:07:17.809Z", "modified": "2021-11-04T20:07:17.809Z" }

      }

      Workaround

      None that I could find.

      Development notes

      This ticket comes from EXTDAM-326 to fix the issue with the timestamp only.

       

        Acceptance criteria

          1. assests app.png
            assests app.png
            209 kB
          2. endpoint.png
            endpoint.png
            228 kB
          3. jcr.png
            jcr.png
            79 kB

              jalonso Jesus Alonso
              lstaniorski Leah Staniorski
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD