[symfony-users] setNameFormat() strange bahavoir and online documentation errors

2010-08-21 Thread Ettore
just got no reply at all. This just left me alone thinking i was wrong. Ettore Del Negro -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group

[symfony-users] Re: Doctrine : many to many with refclass

2010-08-21 Thread Ettore
I don't know if this can solve your problem, anyway have a look at http://www.doctrine-project.org/projects/orm/1.2/docs/manual/defining-models/en#relationships:join-table-associations With user-Permissions you should get a Doctrine_Collection of Doctrine_Records . Creating a new tuple shuld be

[symfony-users] Doctrine_Record accessors

2010-04-05 Thread Ettore
Hello all, i'm developing an app with Symfony 1.4 (tag, not last svn version) and Doctrine and i found a strange behavoir with the following code. schema.yaml --- User: columns: name: { type: string(40), notnull: true } surname: { type: string(40), notnull:

[symfony-users] Re: Doctrine_Record accessors

2010-04-05 Thread Ettore
echo $user-lastLogin; // ERROR echo $user[lastLogin]; // ERROR I took a look inside symfony's code. As what i have understood, the behavoir of ArrayAccess ( $user[...] ) and properties ( $user-field ) doesn't normalize the field value. But i can't found where this normalizations takes place when

[symfony-users] Re: Doctrine_Record accessors

2010-04-05 Thread Ettore
Found it: --- sfDoctrineRecordClass:166 --- public function __call($method, $arguments) { } This overrides the __call of Doctrine_Record. So, shouldn't this be done also for every other acessor/setter (__get __set __isset __unset and ArrayAccess methods) ? -- If you want to report a

[symfony-users] Re: Can't store text fields with è character(s)?

2009-08-12 Thread Ettore
Forgot to say a thing: i get the same problem with every similar character like è, à, ò, ù, but not with , % (the only ones i tried). --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post

[symfony-users] [Propel] Can't store text fields with è character(s)?

2009-08-12 Thread Ettore
Hi all, i'm using a form to allow users insert a comment on a post. When they insert characters like à, è, the text is not inserted in the field into the database. [ PHP Code ] . $reqObj-setNotes( $this-form-getValue('notes') ); $reqObj-save(); .. [ Query reported by the debug

[symfony-users] Re: Can't store text fields with è character(s)?

2009-08-12 Thread Ettore
Problem solved. I forgot to check if Navicat is enough smart (as i supposed to be) to handle utf8 fields correctly. Field is inserted and retrieved correctly through Symfony and Propel. --~--~-~--~~~---~--~~ You received this message because you are subscribed to