Issue Bug Closed

#57362deprecated Statement in DatabaseConnection not working properly

Timothé Beemster 03/27/14, 09:57 updated 02/05/15, 10:42

Description

In the class: “typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbBackend.php”, function getObjectDataByRawQuery (line 401)
The deprecated part is not working properly.

Please see http://pastebin.com/6Hhti2tk for a detailed explanation of the problem.
As stated, the $realStatement->getStatement() returns an array, while a string is needed.

While I’m on it, I would like to say that I am surprised that this change (and deprecation) was introduced so late in the process of 6.2.
I like the new functionality, but I am unsure how the new functionality is supposed to work, and could not find documentation as of yet, about how to properly use the prepared statements (because, ultimately, I obviously don’t want to use deprecated functionality).
Any help on this subject is greatly appreciated.

Please do get back to me if you need more information on the bug.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.