Re: [fw-general] pdo_pgsql problem with Zend_Db_Table

2006-10-17 Thread Kevin McArthur
There are still some issues with PDO binding the same parameter twice. "select :var, :var" with the bound parameters as array('var'=>'value') ... will result in some spooky action. Im not sure if this is fixed in PDO head, but it affects zends implementation downstream. I think this bug is app

[fw-general] pdo_pgsql problem with Zend_Db_Table

2006-10-17 Thread Mark Wright
When using Zend_Db_Table and PDO_PGSQL I get an error in the describeTable method of pdo_pgsql. The error comes up when a column is a varchar because it looks for $val['length'] which does not exist. The sql statement in that method does not select a length column. I solved this problem by adding

Re: [fw-general] [controller] Need getControllerDirectory() method in Zend_Controller_Front, Zend_Controller_Dispatcher

2006-10-17 Thread ltaupiac
I agree, getControllerDirectory method is missing. Shekar C Reddy a écrit : Apparently, there is no way to get the currently set controller directory from the Front and Dispatcher classes. This is badly required to alter the controller directory at runtime by appending to the currently set val

Re: [fw-general] Re: ZFTestManager available in laboratory

2006-10-17 Thread Gavin Vess
Let us move this discussion to fw-core: http://framework.zend.com/wiki/x/QxM Those who are only subscribed to fw-core and are interested in test-related issues will miss the discussion in fw-general. Thanks, Gavin Which ZF List? = Everything, except the topics below: fw-gener

Re: [fw-general] Re: ZFTestManager available in laboratory

2006-10-17 Thread Ralph Schindler
Sebastian Bergmann wrote: Darby Felton wrote: http://framework.zend.com/issues/browse/ZF-417 I do not understand what "Cannot run isolated tests" refers to. Every test is run in an isolated environment (fresh object of the test case class plus cleaned up $GLOBALS etc.) by PHPUnit. Given

Re: [fw-general] Re: ZFTestManager available in laboratory

2006-10-17 Thread Chris Hartjes
On 10/17/06, Bill Karwin <[EMAIL PROTECTED]> wrote: Sebastian Bergmann wrote: > Darby Felton wrote: > >> http://framework.zend.com/issues/browse/ZF-417 >> > > I do not understand what "Cannot run isolated tests" refers to. > > My understanding is that the issue is that all tests are run every ti

Re: [fw-general] Re: ZFTestManager available in laboratory

2006-10-17 Thread Bill Karwin
Sebastian Bergmann wrote: Darby Felton wrote: http://framework.zend.com/issues/browse/ZF-417 I do not understand what "Cannot run isolated tests" refers to. My understanding is that the issue is that all tests are run every time the test suite is executed. Thus there is no oppo

[fw-general] Re: ZFTestManager available in laboratory

2006-10-17 Thread Sebastian Bergmann
Darby Felton wrote: > http://framework.zend.com/issues/browse/ZF-417 I do not understand what "Cannot run isolated tests" refers to. Every test is run in an isolated environment (fresh object of the test case class plus cleaned up $GLOBALS etc.) by PHPUnit. -- Sebastian Bergmann

Re: [fw-general] ZFTestManager available in laboratory

2006-10-17 Thread Gavin Vess
Oops .. we should give Ralph a chance to first review the proposal for ZF, make any desired edits, and remove the "Under Construction" box, before proceeding. The proposal contains more information, and more up-to-date information than the JIRA issue, which is effectively superseded by the pro

Re: [fw-general] Problem With Oracle

2006-10-17 Thread Gavin Vess
See the notes about case sensitivity here: http://www.oracle.com/technology/tech/php/htdocs/php_troubleshooting_faq.html Also, see the user comments here: http://php.net/oci8 When fetching associative arrays, use uppercase string indices. It appears the PHP OCI Library is less lenient wit

[fw-general] ZFTestManager available in laboratory

2006-10-17 Thread Darby Felton
Hi all, I've just committed to the laboratory the latest version of Ralph Schindler's ZFTestManager, which is designed to improve Zend Framework unit testing. It is already operational and is available at the following SVN URL for review: http://framework.zend.com/svn/laboratory/ZFTestManager Th

[fw-general] Problem With Oracle

2006-10-17 Thread [EMAIL PROTECTED]
Hi, we are using zend frame work for development. Our application support three databases MYSQL,MSSQL and ORACLE. With Oracle we are facing one problem it is returning selected column names of the table in uppercase while we have declared column names in lowercase during creation of table and becau

[fw-general] Zend_FilterChain / Zend_Validator

2006-10-17 Thread Simon Mundy
Hi Gavin and Ziffers Just to keep you in the loop Ralf and I are halfway through the Zend_Form component which tackles real-world implementations of Zend_FilterChain and Zend_Validator. Rather than wait for Christopher's proposal to be finalised, we've pushed these into Zend_Form so we can

[fw-general] Zend_Cache::SQLite - Cleanup

2006-10-17 Thread Shekar C Reddy
The SQLite backend needs to cleanup the database to recover wasted space and address structure/data fragmentation issues. The automaticCleaningFactor > 0 leaves the database size the same even after all the rows are deleted from the cache table. Inserts and deletes can leave the database file struc

Re: [fw-general] Zend_Cache::SQLite - Cleanup

2006-10-17 Thread Mislav Marohnić
Smart. Thanks!-MOn 10/17/06, Shekar C Reddy <[EMAIL PROTECTED]> wrote: The SQLite backend needs to cleanup the database to recover wasted space and address structure/data fragmentation issues.   Here is the issue:   http://framework.zend.com/issues/browse/ZF-448

[fw-general] Re: Zend_Cache::SQLite - Cleanup

2006-10-17 Thread Shekar C Reddy
Forgot to mention that VACUUM could be offered as an additional configuration option.   Thanks,     On 10/17/06, Shekar C Reddy <[EMAIL PROTECTED]> wrote: The SQLite backend needs to cleanup the database to recover wasted space and address structure/data fragmentation issues. The automaticCleaning

[fw-general] Zend_Cache::SQLite - Cleanup

2006-10-17 Thread Shekar C Reddy
The SQLite backend needs to cleanup the database to recover wasted space and address structure/data fragmentation issues. The automaticCleaningFactor > 0 leaves the database size the same even after all the rows are deleted from the cache table. Inserts and deletes can leave the database file struc