Bug #9679

PdoHelper fails if username / password are NULL

Added by Robert Lemke over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Should have
Assignee:
Category:
Persistence
Start date:
2010-09-10
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
Complexity:

Description

By default the username and password passed to the PDO backend are NULL because SQLite does not need a username / password in our case.

The recent refactoring in the static object container now detects that NULL is passed to the PDO backend but a string is expected:

#1283859777: Tried to create instance of class F3\FLOW3\Utility\PdoHelper without passing constructor argument $user in Packages/Framework/FLOW3/Classes/Persistence/Backend/GenericPdo/Backend.php line 122

This error is triggered when no Objects.db exists and the backend tries to create one.


Related issues

Related to TYPO3.Flow - Feature #9626: Switch off autowiring for single methods via @autowiring annotationResolvedRobert Lemke2010-09-07

Actions
#1

Updated by Robert Lemke over 10 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF