Deleting post in moderated group queue does not remove post
Summary
If a user deletes a post in a moderated group before it is approved, the post can still be approved and does not get deleted.
Steps to reproduce
- Make a group, make it moderated.
- Login to a secondary account, create posts numbered 1, 2, 3, 4, 5.
- Log-in to primary account, go to queue and reject the post numbered 3.
- Observe the post is no longer in the queue, but if you go back to the group, it is still there with "this post is awaiting moderation" text.
Platform information
Cross-platform web
Relevant logs and/or screenshots
added scoped labels
assigned to @eiennohi
changed weight to 2
changed milestone to %sprint: Hipster Hedgehog
added scoped label
mentioned in merge request !222 (closed)
added scoped label and automatically removed label
mentioned in merge request !241 (closed)
removed label
added scoped label
added scoped label and automatically removed label
removed milestone
changed title from eleting post in moderated group queue does not remove post to eleting post in moderated group queue does not remove post
assigned to @benhayward.ben
changed time estimate to 2h
added 1 deleted label
added scoped label
unassigned @eiennohi
added scoped label and automatically removed label
- Developer
By my testing this is not happening anymore. @javanick can you confirm?
- Posted in a moderated group.
- Deleted the post.
- Switched to moderator account.
- Post not there to approve.
added 30m of time spent at 2019-10-09
added scoped label and automatically removed label
added scoped label and automatically removed label
removed label
added scoped label
removed label
added scoped label
changed the description
- Developer
Nick clarified the steps for me, can now reproduce.
reopened
mentioned in commit bef7d3a8
mentioned in commit 52f5c842
mentioned in merge request !374
added scoped label and automatically removed label
added 2h of time spent at 2019-10-16
- Developer
Passed this deletion off to the event dispatcher
added 2h of time spent at 2019-11-19
added scoped labels and automatically removed label
added scoped label and automatically removed label
added scoped label and automatically removed label
added scoped label and automatically removed label
added scoped label and automatically removed label
added scoped label and automatically removed label
added scoped label and automatically removed label
added scoped label and automatically removed label
added scoped label and automatically removed label
added scoped label and automatically removed label
added scoped label and automatically removed label
added scoped label and automatically removed label
- Developer
Review site had a bad configuration. It needed to be completely stopped and restarted.