zendframework/zf2 — pull request #6833 by blanchonvincent (2014-11-03 10:55:35+00:00)
Title: Improve exception in the abstract plugin manager

Currently, there is 2 problem with the abstract plugin manager :

* if a developer forget to use the parent service locator inside a factory defined in a abstract plugin manager, he can lost time to find the problem
* if a developer use a FQCN (for a dependence defined in the parent service locator) with the auto invokables, in his factory (related to a service defined in the abstract plugin manager) if he forget to call the parent service locator, the abstract plugin manager will auto add the service and, since this point, the developer will lost a lot of time

This PR will provide solution for the 2 issues with a more berbose exception.

The only minor BC is the case where a developer has defined a same service name with FQCN inside the abstract plugin manager AND the parent service locator. It does not make sense and will never happen, it's the only BC of this PR.