Multiple clicks on "Like too" produce multiple avatars

(Мария Сергеева) #1

To reproduce do the following:

  1. Find a post with “person liked this” link and click it.
  2. Click “like it too” link.
  3. Click “undo like” link.
  4. Repeat several times steps 2 - 3.

The problem was found in Chrome.

(Régis Hanol) #2

Thanks but this has already been reported:

(Мария Сергеева) #3

To avoid duplication something like StackExchange “Questions that may already have your answer” feature could be introduced. I hardly can find the topic you mentioned using search even after I have already known that it exists.

(Jeff Atwood) #4

This feature already exists, so that request would also be a duplicate. See screenshot…

You can test this yourself on

(Sam Saffron) #5

@eviltrout there are -36 likes on this topic, we should queue a backfill that repairs stuff like this perhaps weekly (should be cheap enough)

(Régis Hanol) #6

I actually fixed it by changing the way we update these cache counters. We are now doing a query on the database to retrieve the sum instead of using a delta.

(Régis Hanol) #7