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.
There is currently erroneous watchdog errors thrown if you set up a server to use anonymous bind, and create a view to use that server, as there is no current way to have server->bind() with no arguments know that you are actually using anonymous bind.
Comment | File | Size | Author |
---|---|---|---|
#2 | erroneus_watchdog_anonymous_bind_views-2356649-1.patch | 592 bytes | Anonymous (not verified) |
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedExamining the bind function, there appears to be some logic to allow $anon_bind to be set, but the if statement to allow $anon_bind to be set to TRUE doesn't make logical sense. If $anon_bind was already TRUE, why would it need to be set to TRUE again.
The following patch simple re-writes the if statement to allow $anon_bind to be set appropriately based on all arguments being default, and the server bind method being set to anonymous.
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedComment #3
grahlAnyone else using this patch?
Comment #5
grahlComment #6
matthewn CreditAttribution: matthewn commentedI am using this patch; it seems to do the trick.
Comment #7
grahlReviewed, makes sense, thanks.