[buddypress-trac] [BuddyPress] #3591: "New Topic" breaks "Leave-Join Group" ajax

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Tue Sep 20 07:27:55 UTC 2011


#3591: "New Topic" breaks "Leave-Join Group" ajax
------------------------+-----------------------------
 Reporter:  Steveorevo  |      Owner:
     Type:  defect      |     Status:  new
 Priority:  normal      |  Milestone:  Awaiting Review
Component:  Core        |    Version:  1.2.10
 Severity:  normal      |   Keywords:  needs-patch
------------------------+-----------------------------
 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

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3591>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list