Skip to content
This repository has been archived by the owner on Feb 6, 2020. It is now read-only.

'proxy' alias for alias of invokable factory #75

Closed
michalbundyra opened this issue Jan 19, 2016 · 1 comment
Closed

'proxy' alias for alias of invokable factory #75

michalbundyra opened this issue Jan 19, 2016 · 1 comment

Comments

@michalbundyra
Copy link
Member

I found this bug after update zend-servicemanager to version 2.7. I'm using zfcampus/zf-mvc-auth and the problem is caused because of:

    'service_manager' => array(
        'aliases' => array(
            'authorization' => 'ZF\MvcAuth\Authorization\AuthorizationInterface',
            'ZF\MvcAuth\Authorization\AuthorizationInterface' => 'ZF\MvcAuth\Authorization\AclAuthorization',
        ),

so there is kind of "proxy alias" ZF\MvcAuth\Authorization\AuthorizationInterface for an invokable factory ZF\MvcAuth\Authorization\AclAuthorization. It is not possible to get service authorization, because of the proxy.

Commit a7bc0d1, which should fix alias invokable aliases (version 2.7), caused BC.

@michalbundyra
Copy link
Member Author

Closed as duplicate of #71

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant