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
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
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:
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
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
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
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
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