Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Conversation

@mattroylloyd
Copy link

An alias was added in the ServiceListenerFactory to add the lowercase
aliases for console and config. This caused a
Zend\ServiceManager\Exception\InvalidServiceNameException exception to
be throw within the Zend\ServiceManager package when using the default
configuration prior to v3.x.

Within Zend\ServiceManager v3.x, the service manager has become case
sensitive, meaning that this issue would be resolved.

However, as v2.x normalises the aliases, it classifies console and
Console as a duplicate key, and throws the aforementioned exception.

This is a fix is only required as of v2.x of zend-mvc

Added data provider tests for expected aliases for default config

An alias was added in the `ServiceListenerFactory` to add the lowercase
aliases for `console` and `config`. This caused a
`Zend\ServiceManager\Exception\InvalidServiceNameException` exception to
be throw within the Zend\ServiceManager package when using the default
configuration prior to v3.x.

Within Zend\ServiceManager v3.x, the service manager has become case
sensitive, meaning that this issue would be resolved.

However, as v2.x normalises the aliases, it classifies `console` and
`Console` as a duplicate key, and throws the aforementioned exception.

This is a fix is only required as of v2.x of zend-mvc

Added data provider tests for expected aliases for default config
@mattroylloyd mattroylloyd changed the title Removed lowercase console alias from default service config test Removed lowercase console alias from default service config Apr 14, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant