ralsina / aranduka

Automatically exported from code.google.com/p/aranduka
0 stars 1 forks source link

Orphan authors #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Edit a book's info
2. Change the author
3. Save
4. Go to the authors view

What is the expected output? What do you see instead?
Authors without any books shouldn't be listed.

What version of the product are you using? On what operating system?
Integrate branch on Ubuntu 10.10

Original issue reported on code.google.com by andresgattinoni on 20 Oct 2010 at 2:45

GoogleCodeExporter commented 9 years ago
Fixed on revision edc996f400 of the integrate branch.
A sanitize() class method was added to the Author entity to delete orphan 
authors.
The method is called in book_editor.BookEditor.on_save_clicked().

Original comment by andresgattinoni on 25 Jan 2011 at 2:07

GoogleCodeExporter commented 9 years ago

Original comment by andresgattinoni on 27 Jan 2011 at 3:01