Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-3011

ObservedComponentFactory.newInstance() should return a default implementation when the observed path doesn't exist yet

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 4.3
    • None
    • core
    • None

      ObservedComponentFactory.newInstance() currently returns null when the observed path doesn't exist yet. It should return a default implementation (to be configured) or some form of null proxy (see for example Proxytoy's null object proxy) so that client code can always keep a reference to the observed singleton without having to care about it's state on the repo, thus making the observation/factory system entirely transparent.

        Acceptance criteria

              gjoseph Magnolia International
              gjoseph Magnolia International
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD