Skip to content

Temporary duplicate post #230

@zerosonesfun

Description

@zerosonesfun

Bug Report

Current Behavior
Every now and then, after using the more posts pagination button, you will see a duplicate post. It has been happening for a long time. Probably since at least the last few releases. But, since it is rare it is hard to get an example. I finally got an example this morning. I have a theory which might be worth looking into. This duplicate post was a new extension post on discuss.flarum which means it had to be approved. Maybe this is an issue with posts that have to be approved?

Steps to Reproduce

  1. Create a post using a tag that requires approval.
  2. Approve post.
  3. Create other posts until this approved post is at the bottom just above the more posts button.
  4. Click the more posts button. Is there a duplicate? If no, then my theory is wrong, but, the fact is this happens from time to time. 🤷🏼‍♂️

Expected Behavior
There should never be duplicate posts. Even if only temporary.

Screenshots

3-E2-B030-B-FF63-4431-B639-9-EC1-E2-DFD99-B

Environment

  • Flarum version: Whatever discuss.flarum is running
  • Website URL: https://discuss.flarum.org
  • Webserver: ?
  • Hosting environment: VPS?
  • PHP version: ?
  • Browser: Firefox iOS (but browser doesn’t seem to matter)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions