UnionOfRAD/li3_docs — Issue #5: Fatal error with Form helper when li3_docs is enabled
Author: jtey
Created: 2011-12-23 21:07:57+00:00
State: open

When the li3_docs plugin is enabled, it seems to cause a fatal error with the Form helper. It appears to have something to do with the locale related routes that the li3_docs configures in its routes.php.

e.g., I have a Courses::upload action, which contains a basic form via the Form helper. When the li3_docs plugin is enabled, it results in:

"Fatal error: Uncaught exception 'lithium\net\http\RoutingException' with message 'No parameter match found for URL `('controller' => 'courses', 'action' => 'upload', 'locale' => 'en_US')"

The introduction of the 'locale' causes problems with me using the Form helper.

---

I brought this up at #li3 in IRC, where gwoo responded:

jsprty: could you submit a ticket for that
it needs to use the new continuation stuff