Board Bug: Reply decrement operation failure

Ayame Isaki·3/24/2015, 1:39:47 PM·3 votes·1,176 views

I have a "1" unread reply counter next to my Summoner Icon, yet when I click it, I have nothing unread. It looks like the unread reply count is stored as an integer instead of being something like (assuming a relational database backend): select count(*) where status = "unread"

Given this assumption, it looks like a read status change and the counter update are not transactional (missing begin/end/rollback transaction statements) and it is possible for the status to update but not the counter.

It also looks like every status is done with a ++ and - - (or a += X and -= X) instead of a set counter = select count(*) paradigm. Thus, it is impossible to ever decrement to zero short of manual intervention when the counter update fails/does not occur.

Please look into addressing the code issues I have highlighted and please manually decrement my unread count by one.

Thank you!

4 Comments

Junkο3/24/2015, 5:56:00 PM1 votes

I have 5

BatteryDead3/24/2015, 8:54:21 PM1 votes

I'm at 2, and it went up after I commented on something so this will test if it's increasing by comments for some reason.

AetherKingdom3/25/2015, 5:17:24 PM1 votes

bump 4 truth