I guess there are situations where a $user object has no roles and we should be protective against that.

CommentFileSizeAuthor
#1 628982_real_roles.patch885 bytesgreggles
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

greggles’s picture

Status: Active » Needs review
FileSize
885 bytes

This 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.

Race.it’s picture

Status: Needs review » Reviewed & tested by the community

Reviewwed the fix and will commit the change shortly.

Race.it’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.