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

JcrAsset, JcrFolder, AbstractJcrItem should delegate to their provider

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 2.0
    • 2.0
    • DAM JCR Provider
    • None
    • 5.3 Sprint 3, 5.3 Sprint 4

      These classes should be as shallow as possible. Some progress has been done in this area, but there's potential for more. For example, info.magnolia.dam.jcr.JcrFolder#createAssetOrFolder should not be implemented on JcrFolder, but rather just delegate to the provider. In fact, the whole getChildren() method should be delegated to the provider.

      I'd even argue than exception handling should be done by the provider.

        Acceptance criteria

              dlipp Daniel Lipp
              gjoseph Magnolia International
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoR