Opened 9 years ago
Last modified 8 years ago
#2944 new defect (bug)
Forum and topic `_bbp_count_*` meta keys are not deleted when trashing a forum
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.7 | Priority: | high |
Severity: | normal | Version: | |
Component: | Component - Any/All | Keywords: | needs-patch needs-unit-tests early |
Cc: |
Description
Repro:
- 1. Create a forum
Test
, a topicTest
in theTest
forum and finally create a reply toTest
topic
- 2. Trash the forum and empty the trash
Each of the following forum and topic _bbp_count*
meta keys should be deleted when trashing a forum just as it currently does and works expected for the forum and topic for _bbp_last*
and _bbp_*_id
meta keys
Forum meta
_bbp_reply_count
_bbp_total_reply_count
_bbp_forum_subforum_count
_bbp_topic_count
_bbp_total_topic_count
_bbp_topic_count_hidden
Topic Meta
_bbp_voice_count
_bbp_reply_count
_bbp_reply_count_hidden
Note: The above tables post_id
's 1
was the forum, 3
was the topic, and 8
was the reply
Change History (1)
Note: See
TracTickets for help on using
tickets.
I wonder if this is still the case. We should be able to write good tests for this, and get it into 2.7 early.