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

S3AssetProvider should throw defined exceptions with invalid itemKey

XMLWordPrintable

    • Yes
    • AuthorX 1
    • 3

      When REST module use S3AssetProvider to get asset, but input invalid/broken assetKey (this is very common):

      EXPECTED behavior : S3AssetProvider should throw defined exceptions

      CURRENT behavior : Not throw anything, return Asset

      This lead to further code using that Asset and get exceptions e.g software.amazon.awssdk.services.s3.model.NoSuchKeyException: The specified key does not exist.

        Acceptance criteria

              yen.lactue Yen Lac Tue
              chuong.doan Chuong Doan Huy
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 2d 0.75h
                    2d 0.75h