Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
When using reference scope prototype (or prototype_required), when a component instance references the same service multiple time, each reference must use the same service instance rather than a unique instance.
See DS spec section 122.3.5:
prototype:
That is, for a given bound service, each component instance may use a distinct service object but within a component instance all references to the bound service will use the same service object.
prototype_required:
That is, for a given bound service, each component instance will use a distinct service object but within a component instance all references to the bound service will use the same service object.