I'm using the sfPropelActAsSluggableBehaviorPlugin and I guess the
problem could come from it.

DId anyone had a similar problem using it?


On Jun 22, 1:23 pm, simo <[EMAIL PROTECTED]> wrote:
> I checked objects structures :
>
> The main difference is that the Provider  Object get the '_new'
> attribute set to 1.
> Why it gets the value set to 1? Do you think it can explain the
> problem?
>
> On Jun 22, 1:00 pm, simo <[EMAIL PROTECTED]> wrote:
>
> > Hi everybody,
>
> > When I create an object i'm initializing 3 dependents objects.
>
> > In /lib/model/myItem.php, I overload the save method():
>
> > ANd I initialize my objetcs that way :
>
> > // Initializing dependent objects
> >         // object already known as new Indicator - no test
> >         $assessment = new Assessment();
> >         $assessment->save();
> >         $this->setAssessment($assessment);
>
> >         $guideline = new Guideline();
> >         $guideline->save();
> >         $this->setGuideline($guideline);
>
> >         $provider = new Provider();
> >         $provider->save();
> >         $this->setProvider($provider);
>
> > Both Assessment and Guideline objects are created but not my Provider
> > Object! With no mention of errors.
> > I had a look on my log. Of course, there is no trace of the SQL INSERT
> > request for providers .
>
> > When I'm creating a Provider object through myapp/provider/create,
> > everything is working well.
>
> > Do I process a wrong way?
> > Any idea of the problem? Many thanks,
>
> > simo
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to