Ticket #436 (closed defect: fixed)
a_page route won't work with additional parameters
| Reported by: | NikoViitala | Owned by: | tboutell |
|---|---|---|---|
| Priority: | major | Milestone: | 1.4.2 |
| Component: | apostrophePlugin | Version: | 1.4 |
| Keywords: | route, a_page, sf_culture | Cc: | |
| Symfony version: | 1.4 |
Description
Adding /:sf_culture to the start of the a_page route will break the system.
a_page:
url: /:sf_culture/:slug
param: { module: a, action: show }
requirements: { sf_culture: (?:en|es|ru|fi), slug: .* }
sends error:
"The '/:sf_culture/:slug' route has some missing mandatory
parameters (:sf_culture)."
The problem is in plugins/
apostrophePlugin/lib/model/doctrine/PluginaPageTable.class.php on line 299. generate method needs all parameters to be passed.
Change History
Note: See
TracTickets for help on using
tickets.

