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.
API page: https://api.drupal.org/api/drupal/includes%21database%21select.inc/funct...
return call_user_func_array(array($this->query, 'hasAnyTags'), $args);
Shouldn't this call use 'hasAnyTag'? (without the s)
Comment | File | Size | Author |
---|---|---|---|
#8 | 2065917-d8-fix_extender_hasAnyTag_and_add_tests.patch | 2.63 KB | andrewbelcher |
#8 | 2065917-d7-fix_extender_hasAnyTag_and_add_tests.patch | 2.43 KB | andrewbelcher |
Comments
Comment #1
SpadXIII CreditAttribution: SpadXIII commentedSmall patch file
Comment #2
kboopathi CreditAttribution: kboopathi commentedpatch
Comment #3
aspilicious CreditAttribution: aspilicious commentedDon't we need tests?
Comment #4
SpadXIII CreditAttribution: SpadXIII commentedCreated a quick test-patch that shows just this issue and that the patch works.
Comment #6
MrHaroldA CreditAttribution: MrHaroldA commentedThe previous state was invalid, it should have been 'needs review', which I did ;)
The patch in #1 (and #2) fixes all warnings.
Comment #7
David_Rothstein CreditAttribution: David_Rothstein commentedThis would need to go into Drupal 8 first.
Also, there should be a single patch (with the fix and tests) to make sure that the test actually passes with the fix applied.
Comment #8
andrewbelcher CreditAttribution: andrewbelcher commentedHere are patches for D8 and D7 including test coverage.
Comment #10
andrewbelcher CreditAttribution: andrewbelcher commentedTesting D7 patch.
Comment #11
andrewbelcher CreditAttribution: andrewbelcher commented8: 2065917-d7-fix_extender_hasAnyTag_and_add_tests.patch queued for re-testing.
Comment #12
andrewbelcher CreditAttribution: andrewbelcher commentedBack to D8.
Comment #13
BerdirLooks good.
Comment #14
alexpottCommitted 34bb38f and pushed to 8.x. Thanks!
Comment #15
MrHaroldA CreditAttribution: MrHaroldA commentedThere's already a D7 patch in #8.
Comment #16
alexpott8: 2065917-d7-fix_extender_hasAnyTag_and_add_tests.patch queued for re-testing.
Comment #17
andrewbelcher CreditAttribution: andrewbelcher commentedThe patch is already made for D7 (#8) which passes tests and is more or less identical to the D8 one which has already been reviewed. Would be great to get this in as it's filling my error logs and making query alters a bit tricky!
Comment #19
MrHaroldA CreditAttribution: MrHaroldA commented8: 2065917-d7-fix_extender_hasAnyTag_and_add_tests.patch queued for re-testing.
Comment #20
David_Rothstein CreditAttribution: David_Rothstein commentedCommitted to 7.x - thanks!