Actions
Bug #88307
closedDetail pages showing hidden data records are not accessible (PersistedAliasMapper route enhancer)
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
AdminPanel
Target version:
-
Start date:
2019-05-08
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
CodingNight
Complexity:
Is Regression:
Sprint Focus:
Description
Example: tx_news data records
How to reproduce:- Enable the admin tool, open the settings tab in the frontend and enable the "Show hidden records" option.
- You have several news. The newest one is hidden because you do not want to publish the news yet. Instead you want to see a preview on the website
- When you open the list page, you will see the hidden record at the top of the list
- Clicking on this record (to go to the detail page) will case a 404 error
Site Configuration:
routeEnhancers:
NewsPlugin:
type: Extbase
extension: News
plugin: Pi1
routes:
routePath: '/{news_title}'
_controller: 'News::detail'
_arguments:
news_title: news
defaultController: 'News::list'
defaults:
page: '0'
aspects:
news_title:
type: PersistedAliasMapper
tableName: tx_news_domain_model_news
routeFieldName: path_segment
Actions