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

DamDownloadServlet do not work for S3 assets

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Neutral
    • None
    • 1.0.5
    • None
    • None

    Description

      Steps to reproduce

      1.  try to access s3 asset through DamDownloadServlet
      2.  

      .. Logs, screenshots, gifs...

      Expected results

      asset is downloaded

      .. Justify non-trivial expectations with a link to a doc or a relevant discussion.

      Actual results

      SC_NOT_FOUND = 404 is sent to client

      Workaround

      Development notes

      info/magnolia/dam/core/download/DamDownloadServlet.java:262 expect PathNotFoundException if asset is not found by path without extension. S3AssetProvidet create new empty asset without contentStream, so no try for getting by path with extension is done.
      info/magnolia/dam/core/download/DamDownloadServlet.java:161

      Remove DamDownloadServlet from cloud branch.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                yen.lactue Yen Lac Tue
                efochr Evzen Fochr
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - Not Specified
                      Not Specified
                      Logged:
                      Time Spent - 2d 2.75h
                      2d 2.75h