Bug #96667
closedSave and preview button uses wrong pagets
100%
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.
Updated by Gerrit Code Review almost 3 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/+/73193
Updated by Gerrit Code Review almost 3 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/+/73193
Updated by Philipp Kitzberger almost 3 years ago
- Related to Bug #92409: Regression with Save and Preview Button added
Updated by Kay Röseler about 2 years ago
Hello Core Team,
this fix is already available since February and according to tests it works correctly. When is it intended to bring this into the 11.5 master? We have currently managed to implement the patch ourselves.
Many greetings
Kay
Updated by Lorenz Ulrich almost 2 years ago
- Related to Bug #95860: TCEMAIN.preview of root page overrides TCEMAIN.preview of sysfolder once the Button "Preview" is clicked added
Updated by Lorenz Ulrich almost 2 years ago
- Related to Bug #98598: Preview is not working for Records added
Updated by Lorenz Ulrich almost 2 years ago
I can confirm that this patch works and solves other, related issues.
Updated by Gerrit Code Review almost 2 years ago
Patch set 1 for branch 11.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/+/77377
Updated by Philipp Kitzberger almost 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 5db962e9c7298b7ab2572be26b0f6964c0e7751b.
Updated by Benni Mack almost 2 years ago
- Status changed from Resolved to Closed