Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 13 years ago

Last modified 10 years ago

#3815 closed defect (bug) (fixed)

Template handling error when accessing member's profile edit URL

Reported by: DJPaul Owned by: johnjamesjacoby
Priority: normal Milestone: 1.7.1
Component: Templates Version: 1.5.5
Severity: normal Keywords:
Cc:

Description

When logged out, when accessing a valid user's edit profile URL, rather than 404 or redirect (whichever is the correct behaviour for here), you get a weird partial template rendered.

Tested on http://testbp.org/members/djpaul/profile/edit/group/1 but not on a local copy.

Change History (9)

#1 @boonebgorges
15 years ago

Strange. On my local, I get a 404. (Probably should be a no-access-redirect, but a 404 is good enough.) Needs more testing.

#2 @johnjamesjacoby
15 years ago

  • Component XProfileForums
  • Owner set to johnjamesjacoby
  • Status newassigned

That's bbPress 2.0 taking over. Assigning to myself to look at for 1.6.

#3 @johnjamesjacoby
14 years ago

  • Resolutionfixed
  • Status assignedclosed

(In [5763]) Add an is_404() check to bp_is_user() to prevent partial matches from returning true. Fixes #3815.

#4 @r-a-y
13 years ago

  • Component ForumsCore
  • Keywords dev-feedback added
  • Milestone 1.61.7.1
  • Resolution fixed
  • Status closedreopened
  • Version1.5.5

r5763 breaks BP RSS feeds from displaying properly due to the is_404() check.

  • bp_is_user_activity() is used on all BP RSS action router functions to determine if we're currently on a BP user activity page.
  • bp_is_user() is used by bp_is_user_activity()

Since BP RSS feeds are 404 by default, the bp_is_user_activity() check will fail and the RSS feeds will not render properly.

Try out any of the following:

  • /members/admin/activity/friends/feed/
  • /members/admin/activity/groups/feed/
  • /members/admin/activity/mentions/feed/
  • /members/admin/activity/favorites/feed/

When I revert r5763, I can no longer duplicate DJPaul's initial report.

My recommendation is to revert r5763 and I'd like to fix this for 1.7.1.

Last edited 13 years ago by r-a-y (previous) (diff)

#5 @boonebgorges
13 years ago

See also #4329

I agree that the best thing to do here is revert r5763.

#6 @johnjamesjacoby
13 years ago

In 6947:

Revert r5763 as it introduced a regression in bp_is_user() behavior. See #3815.

#7 @johnjamesjacoby
13 years ago

  • Component CoreTheme
  • Keywords dev-feedback removed
  • Resolutionfixed
  • Status reopenedclosed

Can't duplicate anymore either, so marking as resolved.

#8 @r-a-y
13 years ago

In 6966:

Revert r5763 as it introduced a regression in bp_is_user() behavior.

See #3815 (1.7-branch).

#9 @DJPaul
10 years ago

  • Component Appearance - Template PartsTemplates
Note: See TracTickets for help on using tickets.