matthusby / brewcompetitiononlineentry

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

Indicating "Special Ingredient Required" for custom category deletes all existing entries in that category #437

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Create a custom category, indicate that special ingredients are not required
2.Have a competition where entrant have entries in that category
3.Edit the custom category, indicating that special ingredients are required

What is the expected output? What do you see instead?
Expected is that entries become unconfirmed entries.
Instead, all entries in that category are deleted from the competition, even 
when the custom category is reset to "custom category not required".

What version of the product are you using? On what operating system?
1.3.0.4

Please provide any additional information below:

This occurred with our heart of cascadia competition when I was trying to fix 
the issue from 4 months ago where scores wouldn't take (#306).

Original issue reported on code.google.com by ted.as...@gmail.com on 30 Aug 2014 at 6:25

GoogleCodeExporter commented 9 years ago
Upon review it appears that if this change is done to a category, any entries 
more than one day since the last update will be deleted without warning, under 
the purge_entries logic. Sad day to lose half our entries. More sad, I erased 
the lead I had on Issue #306.

I suggest a warning in the UI here, or a touch of the entries to prevent this 
from happening. I prefer the latter, as I believe the UI would the light up 
with unconfirmed entries in the admin screen. 

Original comment by ted.as...@gmail.com on 4 Sep 2014 at 5:02

GoogleCodeExporter commented 9 years ago

Original comment by gpzhumphrey on 4 Nov 2014 at 9:43