Issue 75: PATCH product_images association records are not erased when an image is erased
Status:  Fixed
Owner: ----
Closed:  Jun 2008
Reported by edmundo...@gmail.com, Apr 11, 2008
What steps will reproduce the problem?
1. Create a product and associte an image
2. Delete that image using the Products or Files tab.

What is the expected output? What do you see instead?
The association between a product and an image should be erased. Instead,
in the product_images database table the association is still there
pointing to a nonexistent image.


What version of the product are you using? On what operating system?
trunk. Ubuntu 7.10

Please provide any additional information below.
Follows a patch it just fixes the association, making it be deleted
together using a ":dependent => :destroy" statement in both sides of the
relation. 
delete_product_images_association.patch
1.2 KB   View   Download
Jun 15, 2008
Project Member #1 subim...@gmail.com
Fixed by r100
Status: Fixed