Hi,
I've run into a problem today, maybe it is more propel than symfony related, but maybe someone here knows something to point me into the right direction. In my database schema, I have a m:m relation (Course:Language) which has an attribute price since the course in mandarin is more expensive than in english. So the schema.yml looks like this : course2languages: created_at: ~ updated_at: ~ course_id: { type: integer, foreignTable: Course, primaryKey: true, foreignReference: id, onDelete: cascade, required: true} courselanguage_id: { type: integer, foreignTable: CourseLanguages, primaryKey: true, foreignReference: id, onDelete: cascade, required: true} price: {type: decimal, size: 3, scale: 2, default: 0.00} Now, whenever I add or remove a relation, propel deletes all existing relations and builds them again, thus deleting my attributes. I tried with embedded forms which was displayed nicely in the frontend, but unfortunately, propel does the update first, then deletes the relation and then inserts it again, loosing my attribute. Does anyone know how to work with attributes in relations? I think it would already help, if I knew how to reverse the update and delete/insert transactions in propel. Do the forms provide such a way? Or is it simply not possible to use attributes with relations? What would be the correct way then? BTW, I am using symfony 1.4 and Propel 1.4 Thanks and Regards, Christopher. -- 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. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en