Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

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

#63

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.”

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

State: resolved
Milestone: none
Assigned to: Ivan Ivan

Activity

  1. Andre Torrez
    Andre Torrez
    • 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?

    February 27th, 2011 @ 03:39 PM

  2. Mark Paschal
    Mark Paschal

    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.

    February 27th, 2011 @ 05:03 PM

  3. Ivan
    Ivan
    • State changed from open to resolved

    March 14th, 2011 @ 11:14 AM

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.