Closed Bug 1119986 Opened 10 years ago Closed 10 years ago

Repeated events in Trending in sidebar

Categories

(Webtools Graveyard :: Air Mozilla, defect, P1)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: peterbe, Assigned: peterbe)

References

()

Details

Attachments

(2 files)

See attached screenshot. That's an event that belongs to two channels: Main and Mozilla Reps. It's currently trending (because it's fresh) and it's showing once when you're on the home page (channel Main). It should only appear once only.
Leonard, Perhaps you can figure this one out?
I reviewed the query but can't find anything wrong, can you check if there's two EventHitStats that point to that event?
It totally is! Now I wonder how that could ever have happened.
I take it back. They aren't repeated. They can't be. I just got confused (hence my previous comment). There's a uniqueness constrain that prevents it https://github.com/mozilla/airmozilla/blob/e66fc056710e0fd524b4277c82dc1d1be1caa259/airmozilla/main/models.py#L698
Priority: -- → P1
I can reproduce this locally now.
Assignee: nobody → peterbe
Blocks: 1169367
Commits pushed to master at https://github.com/mozilla/airmozilla https://github.com/mozilla/airmozilla/commit/6d02cf5adf6699be805ad37f78d069a71429748c fixes bug 1119986 - Repeated events in Trending in sidebar https://github.com/mozilla/airmozilla/commit/2efc979905f7e114be5cab45d25d3c6983e33336 Merge pull request #331 from peterbe/bug-1119986-repeated-events-in-trending-in-sidebar fixes bug 1119986 - Repeated events in Trending in sidebar
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: