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

(S3) Show orphan assets in tree

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 1.0.2
    • 1.0, 1.0.1
    • s3
    • None

    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

              jalonso Jesus Alonso
              jalonso Jesus Alonso
              Votes:
              2 Vote for this issue
              Watchers:
              4 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 - 0.5h
                    0.5h