I think this has been reported:
http://framework.zend.com/issues/browse/ZF-1397
Regards,
Bill Karwin
________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of David Mintz
Sent: Monday, September 24, 2007 7:07 AM
To: Zend Framework General
Subject: [fw-general] Zend_Auth_Adapter_DbTable assumes
Zend_Db::FETCH_ASSOC
The other day I decided to set my $db object's fetchmode to
Zend_Db::FETCH_OBJ in my bootstrap. My authentication action helper
relies on a database connection that I set up in the bootstrap and stick
in the registry.I got an error the next time I tried to log in to this
work-in-progress because Zend_Auth_Adapter_DbTable apparently assumes
the default Zend_Db::FETCH_ASSOC
I remedied it by having my authentication action helper's
authenticate() method set the fetchmode the way
Zend_Auth_Adapter_DbTable likes it before passing it to the
Zend_Auth_Adapter_DbTable constructor, I just wonder whether anyone
would consider this an "issue" worth reporting formally. (I could
probably even patch it myself, it should not be a big deal.)
--
David Mintz
http://davidmintz.org/
The subtle source is clear and bright
The tributary streams flow through the darkness