[BUGFIX] Increase sequence if uid gets forced for PostgreSQL 19/51819/11
authorManuel Selbach <manuel_selbach@yahoo.de>
Fri, 24 Feb 2017 09:03:54 +0000 (10:03 +0100)
committerAndreas Fernandez <typo3@scripting-base.de>
Fri, 29 Sep 2017 18:56:52 +0000 (20:56 +0200)
commit6d8cd68dbb566fde15bc883ae94cdda72c12045e
treefc43bbae6f3c194fb6693f5f04ce03efe176933c
parentaa7dcb6573789a5012ed0026b0f69f37e86a6280
[BUGFIX] Increase sequence if uid gets forced for PostgreSQL

If a uid gets forcefully set during a insert into the database
MySQL will automatically update the auto_increment primary key.
Other databases might need post processing, i.e PostgreSQL as
it uses a sequence to generate auto increment uids. Sequences
do not get transparently updated on inserts.

Resolves: #79976
Releases: master, 8.7
Change-Id: I033deb63bf9bc2e072408885a534752573ba4c7c
Reviewed-on: https://review.typo3.org/51819
Tested-by: TYPO3com <no-reply@typo3.com>
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: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
typo3/sysext/core/Classes/DataHandling/DataHandler.php
typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImagesInEmptyDatabaseTest.php