Project

General

Profile

Actions

Bug #57362

closed

deprecated Statement in DatabaseConnection not working properly

Added by Timothé Beemster about 10 years ago. Updated over 9 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 #1

Updated by Timothé Beemster about 10 years ago

  • Assignee set to Felix Oertel
Actions #2

Updated by Markus Klein over 9 years ago

  • Status changed from New to Needs Feedback
  • Assignee deleted (Felix Oertel)
  • Target version deleted (next-patchlevel)

Is this still an issue?

Actions #3

Updated by Alexander Opitz over 9 years ago

  • Status changed from Needs Feedback to Closed

No feedback within the last 90 days => closing this issue.

If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.

Actions

Also available in: Atom PDF