[BUGFIX] Determine returnUrl when deleting pages in EditDocumentController 26/45126/9
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Mon, 7 Dec 2015 20:08:31 +0000 (21:08 +0100)
committerGeorg Ringer <georg.ringer@gmail.com>
Thu, 10 Dec 2015 04:49:49 +0000 (05:49 +0100)
commitc0cd71a6793f04d145fe417cb04e03a69736d54b
tree4dc611b25f88710178b53ea4ba4a33b282aed2a9
parentf624f0aa1dd8e9b0d239fd64b9deb146467d905c
[BUGFIX] Determine returnUrl when deleting pages in EditDocumentController

Determine the returnUrl based on the current module and record. If the
delete action if for a record in the table "pages" the backend needs to
perform a partial reload to avoid trying to access the deleted page. In
all other cases the predetermined returnUrl is ok.

Resolves: #72058
Resolves: #72081
Related: #71425
Releases: master
Change-Id: Id019f2b4a6f60cb850322d6667094b832c62a8e0
Reviewed-on: https://review.typo3.org/45126
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
typo3/sysext/backend/Classes/Controller/EditDocumentController.php