[buddypress-trac] [BuddyPress] #2647: bp_core_catch_uri redirects to root and doesn't pass referer for login redirect
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Thu Dec 30 16:20:17 UTC 2010
#2647: bp_core_catch_uri redirects to root and doesn't pass referer for login
redirect
-----------------------+-------------------------
Reporter: ethitter | Owner:
Type: defect | Status: new
Priority: major | Milestone: 1.4
Component: Core | Version:
Resolution: | Keywords: needs-patch
-----------------------+-------------------------
Changes (by boonebgorges):
* priority: normal => major
* milestone: 1.3 => 1.4
Comment:
The problem is sadly more complex than this.
For items that are added via bp_core_new_subnav_item() and protected with
user_has_acces (like the friend request notification email), the item does
not strictly speaking exist when the user is not logged in, so BP returns
a 'page not found' message.
When an item is protected via a check inside of the function itself, it
simply fails to load the template, or sometimes even returns false, which
results in a redirect back to the home page.
The problem is actually quite serious from a usability point of view, but
a real solution lies beyond the scope of BP 1.3. I'm hoping for something
quite robust in BP 1.4.
--
Ticket URL: <http://trac.buddypress.org/ticket/2647#comment:2>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list