← Back to team overview

mahara-contributors team mailing list archive

[Bug 841711] A change has been merged

 

Reviewed:  https://reviews.mahara.org/640
Committed: http://gitorious.org/mahara/mahara/commit/417077459037550239fe9b09bd20b50d4c19b57f
Submitter: Francois Marier (francois@xxxxxxxxxxxxxxx)
Branch:    master

commit 417077459037550239fe9b09bd20b50d4c19b57f
Author: Penny Leach <penny@xxxxxxxxxxxx>
Date:   Sun Aug 23 14:54:23 2009 +0200

    Bug #841711: ADODB modification: add __wakeup to connection object
    
    This reconnects to the db after wakeup, as resource types cannot be
    serialized and unserialized.
    
    This is necessary for unit tests, phpunit backups and restore globals
    between each test.
    
    Change-Id: I160b4c68ac1db0c3c0a3e1aec1b0dc8584763bf9
    Signed-off-by: Penny Leach <penny@xxxxxxxxxxxx>
    Signed-off-by: Andrew Robert Nicols <andrew.nicols@xxxxxxxxxxx>

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/841711

Title:
  Add wakeup support to adodb

Status in Mahara ePortfolio:
  In Progress

Bug description:
  For phpunit testing, we need to reconnect to the database between unit
  tests because phpunit backs up and restores globals between tests.

  Bit of a pain to deviate (once again) from the adodb distribution but
  this is only required for the unit tests so packaging (e.g. debian)
  can probably ignore this change and use stock adodb

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/841711/+subscriptions


References