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

MvcRouteListener not initialized in release 1.4.0 #117

Closed
vincequeiroz opened this issue Jul 12, 2016 · 3 comments
Closed

MvcRouteListener not initialized in release 1.4.0 #117

vincequeiroz opened this issue Jul 12, 2016 · 3 comments

Comments

@vincequeiroz
Copy link

My application broke in release 1.4.0, because this code not exists anymore.

        $authentication = $this->container->get('authentication');
        $mvcAuthEvent   = new MvcAuthEvent(
            $mvcEvent,
            $authentication,
            $this->container->get('authorization')
        );
        $routeListener  = new MvcRouteListener(
            $mvcAuthEvent,
            $events,
            $authentication
        );

https://github.com/zfcampus/zf-mvc-auth/blob/1.3.2/Module.php#L86
https://github.com/zfcampus/zf-mvc-auth/blob/1.4.0/src/Module.php#L72

In documentation is not explicit that I must initialize the MvcAuthEvent and MvcRouteListener.

@lorenzofaresin
Copy link

+1 :(

@ksondz
Copy link

ksondz commented Jul 22, 2016

+1 ...

@michalbundyra
Copy link
Member

Fixed in #120

weierophinney added a commit that referenced this issue Jul 25, 2016
`MvcRouteListener` initalized `onBootstrap` of the module - fix for #117
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

4 participants