recreate trashed cards when plus card is created

Ticket

+commit
 

 

When card foo has been created and trashed, and someone then creates foo+bar, pull foo out of the trash.

 

 

I added this to 1.0 because it's a bug that makes for bad data.


Create http://test.dwagn.org/wagn/simple_card+right_part then look at http://test.dwagn.org/wagn/simple_card

 

It's pulling it out, with the trashed content as the current version. Guessing we'd like it to come out of the trash with empty content and the trashed content in Changes.

  --John Abbe.....Thu May 21 13:53:12 -0700 2009


ok, I added a simple change that may fix this.

  --Ethan McCutchen.....Thu May 21 16:08:05 -0700 2009


Nope, still happening. See examples.

  --John Abbe.....Fri May 22 11:58:49 -0700 2009


Ran into it in another situation and added another example.

  --John Abbe.....Wed Sep 02 09:33:10 -0700 2009


I restructured a bunch of this in the code and our automated test examples are clearly working. However, I'm not convinced that the migration I wrote to fix the old broken cases actually worked, nor am I sure that my fix addressed every route for this getting screwed up.

 

Both are of interest, but if we're not able to create new cases of brokenness, I'll probably want to close this and ticket the migration separately.

  --Ethan McCutchen.....Thu Nov 18 11:00:29 -0800 2010


I tested this and couldn't create new brokenness, so closing. Added fix recreation of trashed cards in migration.

  --John Abbe.....Mon Nov 22 09:43:51 -0800 2010