[TASK] Only persist on POST requests in EditDocumentController
This change ensures that writing to EditDocumentController only happens for POST requests, as EditDocumentController currently takes care of rendering the form AND saving a record via DataHandler. Resolves: #94114 Releases: master Change-Id: If6dc8930d0fa0cb2ed5d1165d6a42d9639013556 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/68714 Tested-by:Oliver Bartsch <bo@cedev.de> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Benjamin Franzke <bfr@qbus.de> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Benjamin Franzke <bfr@qbus.de>
Showing
- typo3/sysext/backend/Classes/Controller/EditDocumentController.php 24 additions, 18 deletions...ext/backend/Classes/Controller/EditDocumentController.php
- typo3/sysext/backend/Tests/Functional/Controller/EditDocumentControllerTest.php 14 additions, 16 deletions...ests/Functional/Controller/EditDocumentControllerTest.php
Please register or sign in to comment