[BUGFIX] Allow creation of records after another 74/58074/5
authorBenni Mack <benni@typo3.org>
Thu, 30 Aug 2018 05:29:56 +0000 (07:29 +0200)
committerAndreas Fernandez <a.fernandez@scripting-base.de>
Thu, 30 Aug 2018 10:00:09 +0000 (12:00 +0200)
commit0e2756aabfbec814436a14ac67f412953d451d54
tree8e3e4ad39f18e912ce542cb40b60c26e20f3504c
parent94a99018c5b22bcdb8bc99c108ee5c6e48087c21
[BUGFIX] Allow creation of records after another

When adding a content element, EditDocumentController expects the id
for fetching being a positive page ID. This is however edgy as a
record (like tt_content) being added after another record receives
the negative ID of the previous record. So this needs to be resolved.

Resolves: #86010
Releases: master
Change-Id: I80d722a1603b8fa1d6ccb2fc2bb9c914ee38ee42
Reviewed-on: https://review.typo3.org/58074
Reviewed-by: Daniel Goerz <daniel.goerz@posteo.de>
Tested-by: Daniel Goerz <daniel.goerz@posteo.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
typo3/sysext/backend/Classes/Controller/EditDocumentController.php