This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use the new forum.
Home » support » symfony 1.3 and 1.4 » How could this possibly be?!
How could this possibly be?! [message #103007] Fri, 23 July 2010 18:31
ilsilent  is currently offline ilsilent
Messages: 16
Registered: May 2009
Location: Italy
Junior Member
protected function doSave(PropelPDO $con)
{
  ..
  var_Export($this->isModified());
  var_Export($this->modifiedColumns);die();
  ..
}


outputs

false
array ( 0 => 'mbp_booking.FACILITY_ID', 1 => 'mbp_booking.FROM_DATE', 2 => 'mbp_booking.TO_DATE', 3 => 'mbp_booking.NIGHTS', 4 => 'mbp_booking.COST', 5 => 'mbp_booking.ALLOTMENTS', 6 => 'mbp_booking.EMAIL', 7 => 'mbp_booking.FIRST_NAME', 8 => 'mbp_booking.LAST_NAME', 9 => 'mbp_booking.CREATED_AT', 10 => 'mbp_booking.ID', )


and my new object is not saved due to this:

if ($this->isModified()) {
  if ($this->isNew()) {
    $pk = MbpBookingPeer::doInsert($this, $con);
  ...


Any ideas??? I'm going crazy trying to resolve this!
Previous Topic:Prefixing routing links for DoctrineGuardPlugin
Next Topic:Propel converts őŐűŰ character to html_entity
Goto Forum:
  

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software