Download & Extend

No page rendered when user not a member in any group

Project:Organic groups
Version:6.x-2.x-dev
Component:og.module
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

The group tab still exists under My Account notifications when the user is not a member of any group on the site. When clicking the tab, a blank page is displayed (not themed, no content in the page returned by the server). Once you hit another page (e.g. user/n/notifications) clicking into the blank group tab, you see the drupal_set_message "There are no active group subscriptions available."

Using OG module 6.x-2.0

-- glen

Comments

#1

Project:Notifications» Organic groups
Version:6.x-2.1» 6.x-2.x-dev
Component:Code» og_notifications

Looks to me like this is an OG issue.

#2

Component:og_notifications» og.module

Moving this to OG module as suggested, as this is not resolved.

Groups tab on My Account, Notifications page still renders blank if user is not a member of a group, then throws an error on next page: There are no active group subscriptions available.

Any suggestions?

#3

Status:active» needs work

Sure, Glen. How about this fix I cooked up for you:

    drupal_goto($_SERVER['REQUEST_URI']."/..");

after the drupal_set_message with the error message you get in og_notifications.module (line 419). Too bad it took the "experts" in this group so long to figure it out.

Have a great day!

-- glen

P.S. Don't mind if I do...

#4

subscribing

#5

Status:needs work» fixed

This is already fixed in the latest stable version of og (6.x-2.1). Just upgrade the module.

#6

Status:fixed» closed (fixed)

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