Closed Bjwebb closed 6 years ago
If I undo those changes the problem goes away http://dev.org-id.guide/_preview_branch/reset-subnational-merge
If I undo those changes the problem goes away http://dev.org-id.guide/_preview_branch/reset-subnational-merge
I noticed that already. The funny thing is it seems to be only for GB (AFAIK, any other country seems to work). I'm investigating right now
I was wrong, it breaks for a number of countries (but not all of them)
@Bjwebb I found the problem, completely my fault. I used a local script to convert to the data structure in codelist-coverage.json from the data I was collating for subnational division, A bug in the script added titles instead of codes, so e.g.
{
"code": "GE-AB",
"countryCode": "Georgia",
"title": {
"en": "Abkhazia"
}
when it should be
{
"code": "GE-AB",
"countryCode": "GE",
"title": {
"en": "Abkhazia"
}
Will submit a PR to the register
This PR in org-id/register should fix it https://github.com/org-id/register/pull/169
I get this error when trying to run master locally (for any query):
I also get the error on the dev site http://dev.org-id.guide/results https://sentry.io/open-data-services/org-ids-dev/issues/431099178/ I think this could be due to this merge into the register repo: https://github.com/org-id/register/commit/6a2d0a822a50b893302480a7820aabbc404df2d9 I don't see the problem on the live site, but I suspect that's due to caching.