Deletion of phantom bookmarks leads to negative bookmark count
-
Also, phantom bookmark resurrects after deletion if page is refreshed. Repeat ad nauseam for continued amusement.
-
Missing something?
-
-
Yeah, wouldn't want to let people know about that count...they might get jealous!
-
Found a better way to repro:
- Click on Bookmarks and delete the phantom bookmark
- Click on Badges without refreshing the page
- Click back to Bookmarks, the phantom bookmark has reappeared
- Delete the bookmark again, the count has decremented!
How low can we go?
-
Looks like Jeff chose to store it in a signed long, just for us!
[spoiler]I'm just kidding[/spoiler]
-
So, instead of counting bookmarks, they count the actions of adding and deleting a bookmark and subtract?
...well shit, no wonder the performance on the Profile page is down the drain.