Add empty console route configuration to handle ZF 2.2.1 changes #239

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
3 participants
Contributor

healsdata commented Jun 13, 2013

Add empty console route configuration to prevent the zf console from attempting to load web routes.

Console and Web routes extend different base classes. The "Literal" type isn't an option for console routes and was causing a "Given route does not implement Console route interface" exception.

fixes #238

@healsdata healsdata Add empty console route configuration to prevent the zf console from …
…attempting to load web routes.

Console and Web routes extend different base classes. The "Literal" type isn't an option for console routes and was causing a "Given route does not implement Console route interface" exception.
67906d4
Owner

Ocramius commented Jun 13, 2013

@healsdata this shouldn't be happening... Isn't the merged config the same? Maybe you have put DoctrineORMModule before DoctrineModule?

Contributor

healsdata commented Jun 14, 2013

@Ocramius It appears this was caused by a bug in ZF 2.2.1 where console routes were only used if explicitly set somewhere in the application. Otherwise, it would use the web routes.

Best I can tell, zendframework/zendframework@3558ec9 fixes it from their end.

Hell yeah, thnks

Ocramius closed this Jun 16, 2013

healsdata deleted the unknown repository branch Jun 17, 2013

Ocramius referenced this pull request in Ocramius/ocramius.github.com Jun 17, 2013

Closed

Script ./vendor/bin/doctrine-module ends up in route error #11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment