Bug #95123
closedAutomatically added Redirects do not spawn a Notification any more
100%
Description
There have been notifications when redirects where added for https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/10.1/Feature-89115-Auto-createRedirectsOnSlugChanges.html until commit bd0b2929027ed053c77f288a40c9e4f228cb37c7
Files
Updated by Jonas Eberle over 3 years ago
- Related to Task #94114: EditDocumentController should use a POST request for persisting to DataHandler added
Updated by Oliver Hader over 3 years ago
- Status changed from New to Accepted
Confirmed & caused by https://review.typo3.org/c/Packages/TYPO3.CMS/+/68714/9/typo3/sysext/backend/Classes/Controller/EditDocumentController.php#416
Previously the response did contain HTML and corresponding markup to trigger notifications.
With having an HTTP GET redirect in place, this does not work anymore and needs a different concept/approach.
Notifications are triggered by \TYPO3\CMS\Redirects\Service\SlugService::sendNotification
using
GeneralUtility::makeInstance(PageRenderer::class)->loadRequireJsModule( 'TYPO3/CMS/Backend/BroadcastService', sprintf('function(service) { service.post(%s); }', json_encode($data)) );
Updated by Oliver Hader over 3 years ago
- Related to Feature #89115: Auto-create Redirects on Slug Changes added
Updated by Gerrit Code Review over 3 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/71410
Updated by Gerrit Code Review over 3 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/71410
Updated by Gerrit Code Review over 3 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/71410
Updated by Benjamin Franzke over 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 629a43571939c1fa93f30bdcff951e75af144110.