Project

General

Profile

Actions

Bug #91246

closed

routeEnhancer defaults not applied in TYPO3 v9.5.16

Added by Stephan Großberndt about 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Link Handling, Site Handling & Routing
Target version:
Start date:
Due date:
% Done:

100%

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

Description

The defaults as defined in routeEnhancer are no longer applied in TYPO3 v9.5.16

With a configuration of:

  RoiDetail:
    type: Plugin
    limitToPages:
      - 123
      - 234
    routePath: '/{uid}/{title}/{detailType}'
    defaults:
      detailType: 'details'
    requirements:
      uid: '[0-9]{1,5}'
      title: '[a-zA-Z0-9\-]*'
      detailType: '^details|gpx|kml$'
    namespace: tx_extension_pi_roi_detail
    aspects:
      uid:
        type: MyUidMapper
      detailType:
        type: StaticValueMapper
        map:
          details: 'details'
          kml: 'kml'
          gpx: 'gpx'

a TYPO3 <= v9.5.15 installation creates URLs like
https://example.org/roi-details/1234/roi-title/details
(appending the default "details" as "/details" if not defined during link creation) and allowing to access
https://example.org/roi-details/1234/roi-title/gpx

a TYPO3 v9.5.16 installation creates URLs like
https://example.org/roi-details/1234/roi-title
(omitting the default "details" if not defined during link creation) and leads to 404 on accessing
https://example.org/roi-details/1234/roi-title/details
as well as
https://example.org/roi-details/1234/roi-title/gpx


Related issues 3 (1 open2 closed)

Related to TYPO3 Core - Bug #91235: News Detail Page 404 after upgrade 9.5.16Closed2020-04-29

Actions
Related to TYPO3 Core - Bug #90531: Requirements are not considered when an aspect is presentClosed2020-02-25

Actions
Related to TYPO3 Core - Bug #91633: 9.5.19 breaks formerly working routeEnhancerUnder ReviewOliver Hader2020-06-10

Actions
Actions

Also available in: Atom PDF