Zend Framework

Zend_Db_Profiler_FirebugTest fails when you don't have the extension PDO_SQLITE installed.

Details

  • Type: Unit Tests: Problem Unit Tests: Problem
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.9.2, 1.9.3, 1.9.4, 1.9.5, 1.9.6, 1.9.7, 1.10.0, 1.10.1
  • Fix Version/s: 1.10.7
  • Component/s: Zend_Db_Profiler
  • Labels:
    None

Description

Zend_Db_Profiler_FirebugTest fails to tearDown() correctly when you don't have the pecl PDO_SQLITE extension installed.

"Fatal error: Call to a member function getConnection() on a non-object in .../release-1.9.2/tests/Zend/Db/Profiler/FirebugTest.php on line 104"

A fix would be to check to see if the PDO_SQLITE extension is loaded at the top of the tearDown() function

Activity

Hide
Dennis Becker added a comment -

I have created a patch to solve this problem!

Show
Dennis Becker added a comment - I have created a patch to solve this problem!
Hide
Ramon Henrique Ornelas added a comment -

Fixed with the r22570.

Show
Ramon Henrique Ornelas added a comment - Fixed with the r22570.

People

Vote (1)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: