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 | 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)
#2
follow-up:
↓ 3
@
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.
Note: See
TracTickets for help on using
tickets.
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