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

JcrAssetProvider should handle/provide paths relative to its rootPath

XMLWordPrintable

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

      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.

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD