codeforIATI / analytics

A dashboard of various metrics, generated nightly from IATI data
https://analytics.codeforiati.org
Other
0 stars 1 forks source link

Missing data in reporting_org table #57

Closed notshi closed 3 years ago

notshi commented 3 years ago

Describe the bug The table in the Reporting Orgs page should be populated with data but it isn't.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'https://analytics.codeforiati.org/reporting_orgs.html'

Expected behavior The table should be populated with data.

Screenshots Screenshot-20210818225551-1186x814

Desktop (please complete the following information):

notshi commented 3 years ago

Actually, I think more parts of the site is facing the same issue.

Screenshot-20210818233602-1363x957 Screenshot 2021-08-18 at 23-37-04 Code for IATI Analytics - Organisation XML Files Screenshot 2021-08-18 at 23-36-55 Code for IATI Analytics - Duplicate Activity Identifiers

andylolz commented 3 years ago

Wow, yes… Good spot. I’ll look into this

andylolz commented 3 years ago

Aha, okay. We’re making the following request to get publishers, which is currently 504ing: https://iatiregistry.org/api/3/action/organization_list?all_fields=true&include_extras=true&include_tags=true&include_groups=true&include_users=true&limit=50

andylolz commented 3 years ago

Seems like there may recently have been a CKAN update that has caused this to break. I’ve just pushed a fix (that avoids using organization_list?all_fields=true) so hopefully it will be sorted in the next build.

Thanks again for reporting this, @notshi!

andylolz commented 3 years ago

Okay great – fixed in ac168a08e34392eb6ced6d5efb37c2a93724da55.

Screenshot 2021-08-20 at 11 15 23