I was going to test the new extension block types in -dev to make sure there weren't any problems, but I ran into a problem. STR: 1) Go to https://addons-dev.allizom.org/en-US/admin/models/blocklist/blocklistdetail/add/ 2) Enter anything you want in Name, Why, Who, and a valid bug link in Bug. 3) Enter the following under Blocklist Item #1: Min: 0 Max: * Severity: 1 Name: /Shop_an_Up/ 4) Don't enter anything else and click on Save. Expected: Block should be saved. Observed: 'Oops' page shown and no block added.
The issue seems to be that, while the admin form allows an empty GUID, the ORM attempts to store it in the DB as NULL, rather than '', even though it's a NOT NULL column. Using a regexp like /.*/ for the GUID should work for now, but this should definitely still be fixed.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Verified as fixed. Postfix screencast: http://screencast.com/t/gSu5WWWb
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.