Download & Extend

Invalid argument supplied for foreach() in sites/all/modules/omniture/omniture.module on line 57

Project:Omniture Integration
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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

Comments

#1

Status:active» needs review

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.

AttachmentSize
628982_real_roles.patch 885 bytes

#2

Status:needs review» reviewed & tested by the community

Reviewwed the fix and will commit the change shortly.

#3

Status:reviewed & tested by the community» fixed

#4

Status:fixed» closed (fixed)

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

nobody click here