I'm still not able to reproduce this error.  Can you give me any more
information on the type of primary key you're using?  

Ideally, I'd like to see:
1. the CREATE TABLE statement for your SQL table (also tell me what
brand of RDBMS you're using).
2. the Zend_Db_Table class for this database table.
3. a runnable PHP script that reproduces the error.

Regards,
Bill Karwin

> -----Original Message-----
> From: Jack Sleight [mailto:[EMAIL PROTECTED] 
> Sent: Friday, August 10, 2007 3:03 PM
> To: fw-general@lists.zend.com
> Subject: [fw-general] RE: PHP bug when calling save() on a 
> newly created Zend_Db_Table_Row
> 
> 
> I'm using the latest revision (6061), and I'm also getting this error.
> 
> Zend_Db_Table_Row_Exception: Cannot refresh row as parent is 
> missing in 
> E:\Library\zend-framework\trunk\library\Zend\Db\Table\Row\Abst
ract.php on line 586
> 
> It happens when the save method is called, i.e.:
> 
> $row = $table->createRow($data);
> $row->save();
> 
> 
> Bill Karwin wrote:
> > 
> > This sounds like an issue I just fixed in ZF 1.0.1:
> > http://framework.zend.com/issues/browse/ZF-1645
> > 
> > Can you tell me if you're using ZF 1.0.0 or 1.0.1?
> > 
> > Regards,
> > Bill Karwin
> > 
> > 
> 
> --
> View this message in context: 
> http://www.nabble.com/PHP-bug-when-calling-save%28%29-on-a-new
ly-created-Zend_Db_Table_Row-tf4201341s16154.html#a12099806
> Sent from the Zend Framework mailing list archive at Nabble.com.
> 
> 

Reply via email to