Bug #90731
closed
Mountpoint + Route Enhancer (Extbase Plugin) + Error "ID was outside the domain"
Added by Jan Kornblum over 4 years ago.
Updated over 4 years ago.
Category:
Site Handling, Site Sets & Routing
Description
A page containing an extbase plugin (list + show action) is mounted into another domain.
Domain A (Site configuration)
- Page AA
- Page AB - Events (Extbase Plugin with "List" + "Show" Action)
Domain B (Site configuration)
- Page BA
- Page BC - Events (Mountpage: "Show the mounted page", Mountpid: "Page AB")
Coming from "list" action a call to "show" action causes an error "ID was outside the domain". The link is like this:
<f:link.action pluginName="Event" controller="Event" action="show" arguments="{event: event}">
I've figured out that as soon as the "event" argument is removed, no error occures any more. So i believe this might be a bug.
Figured out something more... As soon as the route enhancer configuration is removed, everything works fine. But i don't believe the configuration itself is wrong regarding this issue:
routeEnhancers:
EventShow:
type: Extbase
extension: Example
plugin: Event
routes:
- { routePath: '/{event_title}', _controller: 'Event::show', _arguments: {event_title: event} }
defaultController: 'Event::list'
aspects:
event_title:
type: PersistedAliasMapper
tableName: tx_example_domain_model_event
routeFieldName: slug
- Subject changed from Mounted page + Extbase plugin link + Error "ID was outside the domain" to Mounted page + RouteEnhancer (Extbase Plugin) + Error "ID was outside the domain"
- Subject changed from Mounted page + RouteEnhancer (Extbase Plugin) + Error "ID was outside the domain" to Mountpoint + Route Enhancer (Extbase Plugin) + Error "ID was outside the domain"
- Status changed from New to Under Review
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
- Related to Bug #91427: Mountpoint + Route Enhancer (Extbase Plugin Enhancer) + Error "The requested page does not exist" added
- Related to deleted (Bug #91427: Mountpoint + Route Enhancer (Extbase Plugin Enhancer) + Error "The requested page does not exist")
- Related to Bug #91427: Mountpoint + Route Enhancer (Extbase Plugin Enhancer) + Error "The requested page does not exist" added
Also available in: Atom
PDF