Feature #99053
closedAdd route aspect fallback value handling
Added by Oliver Hader almost 2 years ago. Updated over 1 year ago.
100%
Description
In case a route variable handled by an aspect mapper cannot be resolved, there should be a configurable fallback value.
Updated by Gerrit Code Review almost 2 years ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76545
Updated by Oliver Hader almost 2 years ago
- Sprint Focus set to On Location Sprint
Updated by Gerrit Code Review almost 2 years ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76545
Updated by Gerrit Code Review almost 2 years ago
Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76545
Updated by Gerrit Code Review almost 2 years ago
Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76545
Updated by Georg Ringer over 1 year ago
can be tested with e.g. tt_address which is already compatible with v12 and following site config
routeEnhancers: Address: type: Extbase _limitToPages: - 8 - 10 - 11 extension: TtAddress plugin: ListView routes: - routePath: '/{address_title}' _controller: 'Address::show' _arguments: address_title: address - routePath: '/{page-label}-{page}' _controller: 'Address::list' _arguments: page: 'currentPage' defaultController: 'Address::list' aspects: address_title: type: PersistedAliasMapper tableName: tt_address routeFieldName: slug fallbackValue: null page: type: StaticRangeMapper start: '1' end: '100' page-label: type: LocaleModifier default: seite localeMap: - locale: 'en_.*' value: page - locale: 'it_.*' value: pagina - locale: 'fr_.*' value: page - locale: 'es_.*' value: pagina
Updated by Gerrit Code Review over 1 year ago
Patch set 5 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76545
Updated by Gerrit Code Review over 1 year ago
Patch set 6 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76545
Updated by Gerrit Code Review over 1 year ago
Patch set 7 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76545
Updated by Gerrit Code Review over 1 year ago
Patch set 8 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76545
Updated by Oliver Hader over 1 year ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 9937c0d7b86d1828dcf1c2336b4ff0b8d1d5d12e.