google-code-export / brewcompetitiononlineentry

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

Custom Styles without Special Ingredients - Entries Purged with Data Integrity Check #389

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Admin specifies a custom style that DOES NOT require special ingredients
2. User adds an entry as that custom style. Not required to enter special 
ingredients, so they don't.
3. After 24 hours, the entry is purged

Version(s): 1.3.0.X

The problem has to do with legacy code in a particular function that purges 
entries based upon certain criteria - in this case, entries that do not have 
special ingredients, but are required to. In versions previous to 1.3.0.X, all 
custom styles were required to have special ingredients via the programming. 
Now, they don't.

The attached files will fix the issue. Upload both to the /lib/ directory.

Original issue reported on code.google.com by gpzhumphrey on 18 Mar 2014 at 3:31

Attachments: