Review TYPO3_8-7 Merged

56195[BUGFIX] Cast return value of postProcessDatabaseInsert to integer

Christian Kuhn CR +2 V +2 Easy +31 −1 updated 03/15/18, 21:26

Commit message

Connection::lastInsertId returns a string but
DataHandler::postProcessDatabaseInsert has a strict integer return
value, so the value has to be casted to integer on return.

Additionally, when using sqlserver doctrine fails to fetch the last
inserted id under certain circumstances. An additional retrieval
method was introduced to mitigate that error.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 1