Opened 10 years ago
Last modified 9 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 topicTestin theTestforum and finally create a reply toTesttopic
- 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.