Bug #91427
closedMountpoint + Route Enhancer (Extbase Plugin Enhancer) + Error "The requested page does not exist"
0%
Description
A page containing an extbase plugin (list + show action) is mounted into another domain.
Domain A (Site configuration) - Page AA - Page AB - Page ABA - Events (Extbase Plugin with "List" + "Show" Action) - Page ABB - Events (Extbase Plugin with "Archive" Action, pointing to single view on "Page ABA") Domain B (Site configuration) - Page BA - Page BC - Events (Mountpage: "Show the mounted page", Mountpid: "Page AB")
Coming from "archive" action a call to "show" action (located on a different pid!) causes an error "The requested page does not exist". The link is built like this:
<f:link.action pluginName="Event" controller="Event" action="show" arguments="{event: event}" pageUid="{differentPid}">
As soon as the route enhancer configuration is removed, everything works fine.
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
So there is still an error with the plugin enhancer / simple enhancer, in particular when the page id changes.
This issue follows https://forge.typo3.org/issues/90731, where a partially similar issue has already been fixed.
Updated by Jan Kornblum almost 5 years ago
- Related to Bug #90731: Mountpoint + Route Enhancer (Extbase Plugin) + Error "ID was outside the domain" added
Updated by Jan Kornblum almost 5 years ago
- Related to deleted (Bug #90731: Mountpoint + Route Enhancer (Extbase Plugin) + Error "ID was outside the domain")
Updated by Jan Kornblum almost 5 years ago
- Related to Bug #90731: Mountpoint + Route Enhancer (Extbase Plugin) + Error "ID was outside the domain" added
Updated by Jan Kornblum over 4 years ago
I've just figured out that this is not a bug, but a misconfiguration of tca field "slug". When using mountpages accross sites / domains, a slug fields tca config must not be "eval=uniqueInSite", it has to be "eval=unique" (as documentation says). Sorry!!! Can anybody please close this issue.