Skip to:
Content

BuddyPress.org

Opened 13 years ago

Closed 13 years ago

Last modified 8 years ago

#3591 closed defect (bug) (wontfix)

"New Topic" breaks "Leave-Join Group" ajax

Reported by: steveorevo's profile Steveorevo Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Templates Keywords: needs-patch
Cc:

Description

Clicking "New Topic" as a subscriber to a public forum will throw an uncaught JS exception in global.js at line 781 "gid = gid.split('-');". This will cause ajax to fail and Leave / Join to not refresh on subsequent clicks.

Steps to reproduce the problem:
1) Install WP, BP 1.2.10, create a "testUser" and a public "testGroup"
2) Logout and login as the aforementioned "testUser" and join "testGroup"
3) New go to the Forums section, click "New Topic" but do not create a new topic, instead, attempt to Leave and Join the group.

The error will inhabit ajax refresh and appear that he/she cannot leave the group. True on Chrome, Safari, FF, IE throws a dreaded JS Exception icon, etc.

Have not tried, but I think a (type of gid != "undefined") could trap this in global.js

Change History (4)

#1 @johnjamesjacoby
13 years ago

Can't reproduce this in trunk, which is due to ship shortly.

#2 @johnjamesjacoby
13 years ago

  • Component changed from Core to Theme
  • Milestone changed from Awaiting Review to 1.2.11
  • Resolution set to wontfix
  • Status changed from new to closed

#3 @johnjamesjacoby
13 years ago

  • Milestone 1.2.11 deleted
  • Version 1.2.10 deleted

#4 @DJPaul
8 years ago

  • Component changed from Appearance - Template Parts to Templates
Note: See TracTickets for help on using tickets.