Opened 7 years ago
Closed 7 years ago
#3027 closed defect (bug) (fixed)
Events API: Two meetups returned for same date in same city
Reported by: | dd32 | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | API | Keywords: | needs-patch good-first-bug |
Cc: |
Description
The Adelaide meetup group is seeing some odd results in the events API:
http://api.wordpress.org/events/1.0/?location=Adelaide,%20SA
https://www.dropbox.com/s/sdvqegjdm7lb6tq/Screenshot%202017-08-07%2011.42.30.png?dl=0
They use a monthly-repeating meetup, entitled WordPress Adelaide Monthly Meetup
, and then edit the title to be WordPress Adelaide August Meetup
.
Looking in the database, theres two source_id
's: zdxnhlywlblb
& hfllbnywlblb
- it looks like when they edit the meetup out of the series it creates a new meetup, and the WordPress.org ingester fails to realise it already had that in the DB (because the source_id changed, but the URL stayed the same)
Looking at the database, it looks like this has happened in a few other locations as well. Perhaps we should consider keying it unique by type, url
in addition to type, source_id
.
Attachments (2)
Change History (13)
This ticket was mentioned in Slack in #meta by iandunn. View the logs.
7 years ago
#5
@
7 years ago
The changing IDs might be a bug in Meetup's API (hat tip to @casiepa for finding that).
Related: #2720