#63 ✓resolved
Mark Paschal

“Likes” sidebar stats doesn't update count when the doesn't match

Reported by Mark Paschal | February 27th, 2011 @ 10:54 AM

What I did:

  1. Viewed a /p/ permalink page.
  2. Clicked where it said “1 like” in the sidebar.
  3. Saw two likers were listed, one of which was added “just now.”

What I expected to happen:

The sidebar heading to match the list.

What actually happened:

Despite the two likes returned by the /likes endpoint, the heading continued to read “1 Like.”

Comments and changes to this ticket

  • Andre Torrez

    Andre Torrez February 27th, 2011 @ 03:39 PM

    • State changed from “new” to “open”
    • Assigned user changed from “Andre Torrez” to “Ivan”

    There's something going on with our celery queue. A race condition of some sort that is causing odd issues like this to pop up. I'm assigning to Ivan to look into it if he gets a chance (do you remember what URL it was?). There are a few double-likes in the db that are also perplexing.

    Ivan, I'd start with the double subscription problem we saw, are there any double subs in the db for a user to another shake?

  • Mark Paschal

    Mark Paschal February 27th, 2011 @ 05:03 PM

    I think I saw it on http://mlkshk.com/p/OZH .

    I figured in this case it was that someone had “liked“ it between me opening the page and clicking “1 Like,” though. For instance I can repro it myself on any image of someone else's (that someone other than me has already liked, due to #58) using two tabs:

    1. Open an image in one tab.
    2. In another tab, open the same image.
    3. In the second tab, click the Like button.
    4. Close the second tab.
    5. In the first tab, click “Likes” in the sidebar to open the list.
  • Ivan

    Ivan March 14th, 2011 @ 11:14 AM

    • State changed from “open” to “resolved”

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

MLKSHK it's fun for the whole family.

Shared Ticket Bins

People watching this ticket

Pages