Project

General

Profile

Actions

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.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Start date:
2020-03-11
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #91427: Mountpoint + Route Enhancer (Extbase Plugin Enhancer) + Error "The requested page does not exist"Closed2020-05-18

Actions
Actions #1

Updated by Jan Kornblum over 4 years ago

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    
Actions #2

Updated by Jan Kornblum over 4 years ago

  • 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"
Actions #3

Updated by Jan Kornblum over 4 years ago

  • 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"
Actions #4

Updated by Gerrit Code Review over 4 years ago

  • Status changed from New to Under Review

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64403

Actions #5

Updated by Gerrit Code Review over 4 years ago

Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64367

Actions #6

Updated by Benni Mack over 4 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #7

Updated by Benni Mack over 4 years ago

  • Status changed from Resolved to Closed
Actions #8

Updated by Jan Kornblum over 4 years ago

  • Related to Bug #91427: Mountpoint + Route Enhancer (Extbase Plugin Enhancer) + Error "The requested page does not exist" added
Actions #9

Updated by Jan Kornblum over 4 years ago

  • Related to deleted (Bug #91427: Mountpoint + Route Enhancer (Extbase Plugin Enhancer) + Error "The requested page does not exist")
Actions #10

Updated by Jan Kornblum over 4 years ago

  • Related to Bug #91427: Mountpoint + Route Enhancer (Extbase Plugin Enhancer) + Error "The requested page does not exist" added
Actions

Also available in: Atom PDF