Can't clone a deleted product #1086

Closed
BDQ opened this Issue Feb 3, 2012 · 0 comments

Comments

Projects
None yet
2 participants
Member

BDQ commented Feb 3, 2012

Steps:

  1. Delete a product.
  2. Check "Show Deleted" and click "Search"
  3. Click "Clone" for the deleted product.
  4. Boom
TypeError in Spree::Admin::ProductsController#clone

can't dup NilClass

This needs a request spec to cover it too.

@ghost ghost assigned LBRapid Feb 3, 2012

LBRapid added a commit to LBRapid/spree that referenced this issue Feb 3, 2012

@LBRapid LBRapid closed this in 768b1cb Feb 3, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment