Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUGFIX] Cast return value of postProcessDatabaseInsert to integer
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. Resolves: #84219 Releases: master, 8.7 Change-Id: I94dc0dc964aef26380703f641691c6a80ec5180d Reviewed-on: https://review.typo3.org/56118 Reviewed-by: Frank Naegler <frank.naegler@typo3.org> Tested-by: Frank Naegler <frank.naegler@typo3.org> Tested-by: TYPO3com <no-reply@typo3.com> Reviewed-by: Susanne Moog <susanne.moog@typo3.org> Tested-by: Susanne Moog <susanne.moog@typo3.org> Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch> Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
- Loading branch information