Uploaded image for project: 'Magnolia DAM Module'
  1. Magnolia DAM Module
  2. MGNLDAM-408

JcrAssetProvider should handle/provide paths relative to its rootPath

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 2.0
    • 2.0
    • DAM JCR Provider
    • None

    Description

      To be verified with unit tests:

      • items returned by JcrAssetProvider should return a path that's relative to its rootPath (i.e if rootPath==/foo, then Asset.getPath()==/bar for an asset physically stored in /foo/bar in jcr.
      • get*ByPath should take paths relative to the rootPath (PathAwareAssetProvider.getAsset(/bar) should return the asset physically stored in /foo/bar in jcr.
      • Ideally, the provider should be isolated, such that a call to getAsset(someId) would fail if it points to an asset stored outside /foo.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                ehechinger Eric Hechinger
                gjoseph Magnolia International
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD