[EXTDAM-331] In S3, fix the delivery endpoint removing the incorrect metadata and the query string Created: 10/Dec/21  Updated: 18/Oct/22  Resolved: 15/Dec/21

Status: Closed
Project: External DAMs
Component/s: s3
Affects Version/s: 1.1.0
Fix Version/s: 1.0.9, 1.1.1

Type: Bug Priority: Normal
Reporter: Leah Staniorski Assignee: Jesus Alonso
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File assests app.png     PNG File endpoint.png     PNG File jcr.png    
Issue Links:
Problem/Incident
causes EXTDAM-332 DOC: Update External DAM module Closed
Relates
relates to EXTDAM-326 S3 Provider Asset Reference Resolver ... Open
dependency
relation
is related to EXTDAM-182 Support S3 metadata using 'S3 Tags' Open
is related to EXTDAM-237 S3: Option to store width & height in... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[X]* Steps to reproduce, expected, and actual results filled
[X]* Affected version filled
Release notes required:
Yes
Date of First Response:
Epic Link: AuthorX Support

 Description   

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.

 


Generated at Mon Feb 12 01:54:09 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.