Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 15 years ago

Last modified 10 years ago

#3591 closed defect (bug) (wontfix)

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

Reported by: Steveorevo Owned by:
Priority: normal Milestone:
Component: Templates Version:
Severity: normal 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
15 years ago

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

#2 @johnjamesjacoby
15 years ago

  • Component CoreTheme
  • Milestone Awaiting Review1.2.11
  • Resolutionwontfix
  • Status newclosed

#3 @johnjamesjacoby
15 years ago

  • Milestone 1.2.11
  • Version 1.2.10

#4 @DJPaul
10 years ago

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