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

(S3) Show orphan assets in tree

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: 1.0, 1.0.1
    • Fix Version/s: 1.0.2
    • Component/s: s3
    • Labels:
      None
    • Release notes required:
      Yes
    • Epic Link:
    • Sprint:
      Add-Ons 49
    • Story Points:
      3

      Description

      S3 uses the key attribute to somehow identify a tree hierarchy. However, the key is arbitrary and programatically, it is possible to add into S3 assets without a parent folder.

      For instance, you could create these assets:

      /bucket/20201014/file1
      /bucket/20201014/file2
      /bucket/20201014/file3

      And it is not required to create the folder object with key

      /bucket/20201014

      In such a case, the assets above would not be shown in the S3 tree. Notice that if you use the S3 console, this would never happen, as you always have to create the folder.

      AC

      • Detect orphans assets rendering the tree
      • Generate on the fly the missing folders.

      For instance, in the example above, the folder /bucket/20201014 should be shown in the tree.

        Checklists

        Acceptance criteria

          Attachments

            Activity

              People

              Assignee:
              jalonso Jesus Alonso
              Reporter:
              jalonso Jesus Alonso
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  Checklists

                  Bug DoR
                  DoD

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 0.5h
                    0.5h