Skip to:
Content

BuddyPress.org

Opened 13 years ago

Closed 13 years ago

#3860 closed defect (bug) (no action required)

Error creating a topic in a private or hidden group (from forums page)

Reported by: deschle's profile deschle Owned by:
Milestone: Priority: normal
Severity: normal Version: 1.5.1
Component: Forums Keywords:
Cc:

Description

When posting a topic in a private or hidden group from the forums page the following error message is shown: "There was an error when creating the topic."

Nevertheless the topic gets created, but the activity stream is not updated.

Change History (4)

#1 @deschle
13 years ago

The sql query generated in bp_forums_get_topic_details() (which is called from groups_new_group_forum_topic ) contains "g.status = 'public'" in the where statement:

SELECT t.*, g.id as object_id, g.name as object_name, g.slug as object_slug
FROM wp_bb_topics AS t JOIN wp_bp_groups AS g LEFT JOIN wp_bp_groups_groupmeta AS gm ON g.id = gm.group_id
WHERE (gm.meta_key = 'forum_id' AND gm.meta_value = t.forum_id) AND g.status = 'public' AND t.topic_id = '282' AND t.topic_status = '0'
ORDER BY t.topic_time DESC LIMIT 30

#2 follow-up: @DJPaul
13 years ago

  • Keywords reporter-feedback added
  • Milestone changed from Awaiting Review to Future Release

I cannot recreate this on BP-1.6/trunk, so it's possible we already fixed it. Can you provide step-by-step instructions so we can be sure? Thanks.

#3 in reply to: ↑ 2 @deschle
13 years ago

Replying to DJPaul:

I cannot recreate this on BP-1.6/trunk, so it's possible we already fixed it. Can you provide step-by-step instructions so we can be sure? Thanks.

Tested with 1.5.4 and it seems to work now.

#4 @DJPaul
13 years ago

  • Keywords reporter-feedback removed
  • Milestone Future Release deleted
  • Resolution set to invalid
  • Status changed from new to closed

Cool! Marking as invalid, but glad you've got a resolution.

Note: See TracTickets for help on using tickets.