Actions
Bug #96667
closedSave and preview button uses wrong pagets
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
Start date:
2022-01-28
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:
Description
When using the save+preview button for a non-pages record the global pagets is being used instead of the one of the current page/folder.
I've got this global PageTS:
TCEMAIN.preview { tx_news_domain_model_news { previewPageId = 123 useDefaultLanguageRecord = 0 fieldToParameterMap { uid = tx_news_pi1[news_preview] } additionalGetParameters { tx_news_pi1.controller = News tx_news_pi1.action = detail } } }
And for a certain folder there's this local override:
TCEMAIN.preview.tx_news_domain_model_news.previewPageId = 666
Hitting the save+preview button in that folder leads to the page 123 being opened instead of 666.
It might be related to #92409 but maybe not.
Actions