The logic was a little hard to read, but I ran a battery of HumanTests.php, and I'm pretty sure I fixed it.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | vocab-update.patch | 2.68 KB | mfb |
| #3 | extant-vocabulary-validate-fail_0.patch | 3.2 KB | catch |
| #1 | extant-vocabulary-validate-fail.patch | 2.65 KB | catch |
| extant-vocabulary-validate-fail.patch | 1.01 KB | Anonymous (not verified) |
Comments
Comment #1
catchWrote tests for failed validation, but looks like passing validation wasn't properly tested.
Changed the tests so they'll fail without this patch now.
Comment #3
catchComment #4
mfbI took out a layer of parentheses for what seems like more readable logic. But if someone likes that stuff they can go with #3.
Comment #5
sivaji_ganesh_jojodae commented#4 works fine for me.
Comment #6
Anonymous (not verified) commentedI agree.
Comment #7
catchI thought this was in already, then went to edit a vocabulary and found it wasn't. rrrtbc.
Comment #8
dries commentedCommitted to CVS HEAD. Thanks.