Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reactions and upvotes mess up the timer #2

Open
ghost opened this issue Apr 13, 2020 · 1 comment
Open

Reactions and upvotes mess up the timer #2

ghost opened this issue Apr 13, 2020 · 1 comment

Comments

@ghost
Copy link

ghost commented Apr 13, 2020

Bug description

Adding a reaction to a post, upvote/downvote or a like temporaly close to the next date update will duplicate the date display:

image

This stays like this until the next date refresh. I wasn't sure where to report this as it looked like a Gamification or Reactions bug, but after seeing the behaviour reproduced in my almost vanilla local beta12 Flarum, I decided to report it as a realtimedate bug.

Supposed behaviour

Reacting, upvoting/downvoting or liking a post temporaly close to the next date update doesn't mess up the date display.

Flarum detail

This was first seen on a live beta12 Flarum with PHP 7.4.4 and nginx. The issue was reproduced with only Gamification, Reactions, Likes and realtimedate activated (aside from the usual bundled extensions) on a local server of the same specifications.

Additional details

This bug is not critical by any means because it persists only until the next date update, and is easy to reproduce only when trying to react, vote or like as the 11-59 seconds ago is displayed (because you get a chance every second). Perhaps it's concurrency related?

@dsevillamartin
Copy link
Member

If I remember correctly, this is an issue with core itself. See flarum/framework#1087. I don't think this can be fixed anywhere else. There may be JS errors in the console.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant