Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: Sivaji_Ganesh_Jojodae commented#4 works fine for me.
Comment #6
Anonymous (not verified) CreditAttribution: Anonymous 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 CreditAttribution: Dries commentedCommitted to CVS HEAD. Thanks.