Maybe you join authors and books using a INNER JOIN, that removes authors with no books.

Could you give us the SQL query generated, and query creation code ?

Le 10/08/10 16:55, Tocacar a écrit :
I am using symfony 1.4 with Doctrine 1.2

I have model called Book and it is related to a model called Author.
I have 4 book records and 2 author records (each author record is
related a book record).  If I want to change the author of a book, I
click Edit on the Book form and see the drop down menu where both
authors are displayed via a form choice widget (drop down menu)
populated by getRelatedModelName(Author).

If I go to the Author form and add 3 new authors (and save them to the
database), then go back to the Book form, I can still only see the 2
original authors in the drop down menu.

Why isn't is showing all 5 authors?

Any help/ advice is most appreciated!


--
---
Alexandre Salomé - http://alexandre.salome.fr

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