FriendsOfFlarum / best-answer

Mark a post as the best answer in a discussion
MIT License
23 stars 10 forks source link

[BUG] Selected Post Does Not Exist in This Discussion #26

Closed andrewdmaclean closed 3 years ago

andrewdmaclean commented 3 years ago

Description of Issue

Facing the "Selected Post Does Not Exist" bug on a recent update to Beta 15, but only in PROD, while localhost has no issues.

Attempted Solutions

Thoughts

The only thing I have been able to find in terms of notable differences is that PROD is running MariaDB while localhost is running a MySQL Server.

Similar Issues

From the description on Discuss, it is the same issue as outined here https://discuss.flarum.org/d/24960-best-answer-issue/10

Screenshots of the Error

image image image

imorland commented 3 years ago

This has popped up every now and again for a while now. Should have an hour or two to look at this soon

EvilExecutor commented 3 years ago

@andrewdmaclean Thanks for reporting this issue & helping out to find a fix. It's been fixed on FriendsOfFlarum Best Answer v0.3.2. If you are interested to know how this was fixed > https://github.com/FriendsOfFlarum/best-answer/commit/915515b145c93627c819745cd2bde8d5c3f0e885

If you still experience the issue feel free to open.