save should return array in 1.2  - are you on 1.1?

 

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Nirav 
Mehta
Sent: 30. juni 2008 22:38
To: [email protected]
Subject: Database save status issue

 

Hi,

I seem to have a problem with handling errors on saving to the database. I am 
using PostGre. 

When I try to save some data that is incorrect, the Model->save method returns 
true, indicating that the method was successful, but PHP exists with errors 
from the database pg_query() method. So is CakePHP not reflecting the status of 
the query execution correctly, or am I doing something wrong?

-- Nirav


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to