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.
I guess there are situations where a $user object has no roles and we should be protective against that.
Comment | File | Size | Author |
---|---|---|---|
#1 | 628982_real_roles.patch | 885 bytes | greggles |
Comments
Comment #1
gregglesThis is kind of crazy, I feel like we should always have either auth or anon. I think it might be happening because in this particular case omniture is being called for a page that executes very little of the Drupal boostrap. I'm not entirely sure whether its worth us protecting against that.
Comment #2
Race.it CreditAttribution: Race.it commentedReviewwed the fix and will commit the change shortly.
Comment #3
Race.it CreditAttribution: Race.it commented