You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using an S3 media source, and calling getObjectContents(), the file content is not returned.
This method should behave the same, whether it's filesystem, ftp, or S3 media source.
This might be because modS3MediaSource doesn't override modMediaSource::getObjectContents(). I'll try to look into this further soon.
Step to reproduce
Call getObjectContents() on an S3 media source. e.g.
Bug report
Summary
When using an S3 media source, and calling
getObjectContents()
, the file content is not returned.This method should behave the same, whether it's filesystem, ftp, or S3 media source.
This might be because
modS3MediaSource
doesn't overridemodMediaSource::getObjectContents()
. I'll try to look into this further soon.Step to reproduce
Call
getObjectContents()
on an S3 media source. e.g.Observed behavior
$image['content']
will be empty. If the same was done on a filesystem media source, the file content would exist.Expected behavior
getObjectContents()
should have the same behaviour regardless of the type of media source.Environment
MODX 3.x, AWS S3
The text was updated successfully, but these errors were encountered: