ZF-6311: Zend_Db_Adapter_Pdo_Abstract cannot be serialized

Issue Type: Bug Created: 2009-04-15T15:57:29.000+0000 Last Updated: 2009-10-23T08:37:55.000+0000 Status: Resolved Fix version(s): - 1.8.0 (30/Apr/09)

Reporter: Mahomedalid Pacheco (mictlan) Assignee: Ralph Schindler (ralph) Tags: - Zend_Db

Related issues: Attachments:


Any instance that use Zend_Db_Adapter_Abstract cannot be serialized (for example save the object in session) because the object try to serialize a PDO connection.

:: Error: You cannot serialize or unserialize PDO instances

:: Trace:

0 [internal function]: PDO->__sleep()


Posted by Mahomedalid Pacheco (mictlan) on 2009-04-15T16:06:26.000+0000

I changed the affect versions, because I notice that this bug it's corrected in the trunk version.

Posted by Jordan Ryan Moore (jordanryanmoore) on 2009-10-23T08:37:55.000+0000

A fix was added in release 1.8.0.

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.