spree-contrib / spree_related_products

Related products extension for Spree Commerce.
http://guides.spreecommerce.org
BSD 3-Clause "New" or "Revised" License
149 stars 241 forks source link

Unable to add a Related Product if one of the related products in the search is deleted #35

Closed kristenhazard closed 10 years ago

kristenhazard commented 12 years ago

I'm running Rails 3.2.3, MySQL, Spree 1.1.0 and spree_related_products, :git => 'git://github.com/spree/spree_related_products.git'.

The related product dropdown never loads (loading gif stays up and no product show up in autocomplete dropdown) when I type in a product that has been deleted through the admin screen.

To reproduce create 2 products with very simliar names. For example, Hand Held Remote and Hand Held Remote 2. Delete Hand Held Remote. Go to another product and start typing in Hand Held in the Add a Related Product text box. You would expect to see Hand Held Remote 2 in the autocomplete dropdown, but that product never loads and the loading gif stays spinning. Go to Rails console and delete Hand Held Remote via the console so that it's no longer in the database. Go back related products and type Hand Held. You will now see Hand Held Remote 2 show up in the autcomplete.

radar commented 12 years ago

Please try with the latest Spree 1.1.2.rc1 release. I was unable to reproduce this issue on my machine.

peterberkenbosch commented 10 years ago

Closing due to age. Feel free to comment if it's still an issue, and we'll reopen.