#3591 closed defect (bug) (wontfix)
"New Topic" breaks "Leave-Join Group" ajax
Reported by: | 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
Can't reproduce this in trunk, which is due to ship shortly.