Project

General

Profile

Actions

Bug #57362

closed

deprecated Statement in DatabaseConnection not working properly

Added by Timothé Beemster over 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2014-03-27
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.4
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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.

Actions

Also available in: Atom PDF