No, just some ordinary fields I am trying to update, these fields are not
used as FK nor any of them is id. as stated on wiki I am using in_array for
security check too. but I did double-check that setFields method indeed
exists in Info entity. But I am not getting undefined method, I am getting
"entity was not find". any idea how to check/fix it?




On Sun, Apr 20, 2014 at 11:50 PM, Herman Peeren <[email protected]>wrote:

> On Sunday, 20 April 2014 21:04:45 UTC+2, Parsifal wrote:
>
>> please read my previous answer. since I am not getting an order for
>> ->getInfo() should I assume that my info entity is loaded? if yes, then why
>> should I get "entity was not found error" when calling a method inside info
>> entity, e.g. setFields() ?
>>
>
> No, when $order->getInfo was called, probably only a proxy was loaded.
> When executing  setFields() the actual entity was loaded and that failed.
> Maybe you are trying to set the ID of that entity with setFields()? Just
> guessing.
>
> --
> You received this message because you are subscribed to the Google Groups
> "doctrine-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/doctrine-user.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to