Skip to content

Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
Minds Backend - Engine
Minds Backend - Engine
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
    • Insights
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
    • Locked Files
  • Issues 276
    • Issues 276
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 46
    • Merge Requests 46
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Security & Compliance
    • Security & Compliance
    • Dependency List
  • Packages
    • Packages
    • List
    • Container Registry
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Minds
  • Minds Backend - EngineMinds Backend - Engine
  • Issues
  • #1031

Closed
Open
Opened 2 months ago by Ben Hayward@benhayward.ben
  • Report abuse
  • New issue
Report abuse New issue

Moderation queue number incorrect & posts duplicating.

Summary

If you are a moderator of a closed group, when you've approved all of the posts, you will likely see one or two still remaining, that you are unable to approve, as they are not in the queue. You will also see that some posts that you have already approved, are duplicate in the feed, one approved entity, one unapproved, with nothing in the moderation queue.

Steps to reproduce

Requires that you are a group moderator of a closed group.

Platform information

Cross-platform web

What is the current bug behavior?

Queue will show posts awaiting approval that are not

What is the expected correct behavior?

Queue should show empty if there are no posts to approve, furthermore posts should not be getting duplicated.

Relevant logs and/or screenshots

Video at this link https://www.minds.com/newsfeed/999958056778829824

Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

Please solve the reCAPTCHA

We want to be sure it is you, please confirm you are not a robot.

Edited 1 week ago by Mark Harding

Related issues
0

Related merge requests
1
  • Opened 2 hours ago
    Oct 21, 2019 2:37pm GMT+0000
    [Sprint/PinkPanther](fix): Refactored logic for moderation queue to not query Cassandra for post count.
    Opened 2 hours ago
    Oct 21, 2019 2:37pm GMT+0000
    !381
When this merge request is accepted, this issue will be closed automatically.
  • Discussion 1
  • Designs 0
  • Ben Hayward @benhayward.ben added Priority::2 - Normal Product::Groups Type::Bug scoped labels 2 months ago

    added Priority::2 - Normal Product::Groups Type::Bug scoped labels

  • Ben Hayward @benhayward.ben changed milestone to %"sprint: Kilted Koala" 2 months ago

    changed milestone to %"sprint: Kilted Koala"

  • Mark Harding @markeharding changed milestone to %"(09/11) Nuanced Numbat" 1 month ago

    changed milestone to %"(09/11) Nuanced Numbat"

  • Mark Harding @markeharding added Squad::Yellow scoped label 1 month ago

    added Squad::Yellow scoped label

  • Mark Harding @markeharding added Sprint::09/11 - Nuanced Numbat scoped label 1 month ago

    added Sprint::09/11 - Nuanced Numbat scoped label

  • Mark Harding @markeharding removed milestone 1 month ago

    removed milestone

  • Ben Hayward @benhayward.ben assigned to @benhayward.ben 1 month ago

    assigned to @benhayward.ben

  • Ben Hayward @benhayward.ben added Status::InProgress scoped label 3 weeks ago

    added Status::InProgress scoped label

  • Ben Hayward @benhayward.ben removed Sprint::09/11 - Nuanced Numbat label 3 weeks ago

    removed Sprint::09/11 - Nuanced Numbat label

  • Ben Hayward @benhayward.ben added Sprint::09/25 - Oldfashioned Owl scoped label 3 weeks ago

    added Sprint::09/25 - Oldfashioned Owl scoped label

  • Ben Hayward @benhayward.ben removed Status::InProgress label 3 weeks ago

    removed Status::InProgress label

  • Ben Hayward @benhayward.ben changed time estimate to 5h 3 weeks ago

    changed time estimate to 5h

  • Ben Hayward @benhayward.ben added 1h 30m of time spent at 2019-09-25 3 weeks ago

    added 1h 30m of time spent at 2019-09-25

  • Ben Hayward @benhayward.ben changed weight to 2 3 weeks ago

    changed weight to 2

  • Ben Hayward @benhayward.ben changed milestone to %Misc. Q4 2019 3 weeks ago

    changed milestone to %Misc. Q4 2019

  • Mark Harding @markeharding added Sprint::10/09 - Pink Panther Status::Backlog scoped labels and automatically removed Sprint::09/25 - Oldfashioned Owl label 1 week ago

    added Sprint::10/09 - Pink Panther Status::Backlog scoped labels and automatically removed Sprint::09/25 - Oldfashioned Owl label

  • Mark Harding @markeharding changed title from (bug): Moderation queue number incorrect & posts duplicating. to Moderation queue number incorrect & posts duplicating. 1 week ago

    changed title from (bug): Moderation queue number incorrect & posts duplicating. to Moderation queue number incorrect & posts duplicating.

  • Ben Hayward @benhayward.ben mentioned in issue front#239 4 days ago

    mentioned in issue front#239

  • Ben Hayward @benhayward.ben added Status::InProgress scoped label and automatically removed Status::Backlog label 4 hours ago

    added Status::InProgress scoped label and automatically removed Status::Backlog label

  • Ben Hayward @benhayward.ben removed Status::InProgress label 3 hours ago

    removed Status::InProgress label

  • Ben Hayward
    Ben Hayward @benhayward.ben · 3 hours ago
    Developer

    https://gitlab.com/minds/engine/blob/master/Core/Groups/AdminQueue.php#L86

    Is the function that is counting, simply using SELECT COUNT(*) FROM entities_by_time WHERE key = ?;

    This number will return even when there are no activities send along with the number.

  • Ben Hayward @benhayward.ben changed milestone to %Misc. Q4 2019 2 hours ago

    changed milestone to %Misc. Q4 2019

  • Ben Hayward @benhayward.ben changed weight to 2 2 hours ago

    changed weight to 2

  • Ben Hayward @benhayward.ben moved from minds#688 (moved) 2 hours ago

    moved from minds#688 (moved)

  • Ben Hayward @benhayward.ben mentioned in merge request !381 2 hours ago

    mentioned in merge request !381

  • Ben Hayward @benhayward.ben added 1h of time spent at 2019-10-21 2 hours ago

    added 1h of time spent at 2019-10-21

  • Ben Hayward @benhayward.ben added Status::Review scoped label 2 hours ago

    added Status::Review scoped label

  • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
Please register or sign in to reply

The one place for your designs

Upload and view the latest designs for this issue. Consistent and easy to find, so everyone is up to date.

Assignee
Ben Hayward's avatar
Ben Hayward @benhayward.ben
Assign to
none
Epic
None
Misc. Q4 2019
Milestone
Misc. Q4 2019
Assign milestone
1h / 5h
Time tracking
Spent 1h
Est 5h
None
Due date
None
6
Labels
Priority::2 - Normal Product::Groups Sprint::10/09 - Pink Panther Squad::Yellow Status::Review Type::Bug
Assign labels
  • View project labels
2
Weight
2
Confidentiality
Not confidential
Lock issue
Unlocked
3
3 participants
user avatar
Ben Hayward
user avatar
Mark Harding
user avatar
Japhy Ryder
Reference: minds/engine#1031