-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLB: failure of Project - Sectors report #1007
Comments
Note: I did re-login. Result is the same. |
Thomas is on holiday, so I took a look. It takes you to https://data.catalogueoflife.org/catalogue/3/sector?limit=100&offset=0&subjectDatasetKey=2144 and the browser gives JS error reading the The API being called is this https://api.catalogueoflife.org/dataset/3/sector?datasetKey=3&limit=100&offset=0&subjectDatasetKey=2144 Looking at the JSON, the only suspicious bit seems to be this (note the broken bit):
@mdoering - looks like a bad API response? |
Thanks Tim, looking into this. It's an unexpected response. If the subject (or target) of a sector is "broken" this means we cannot link to the source and do not have a working ID at hand. The name should have been stored when the sector was created and should not change - it is actually used to rematch broken sectors and lookup the current id. Sth must have gone wrong when the sector got created. Hm, it was created in 2020 and only now modified. |
looking at the database there is just this one ITIS sector without a subject name, odd.
|
something happened in january 2021. That was shortly after we went live, so maybe we had some early bugs still.
|
Archostemata is a suborder of Coleoptera, so looks good |
Yes, according to my logs, suborder Archostemata from ITIS was assembled on 2020-08-25 |
Unfortunately, I cannot confirm that exactly Archostemata is missing among ITIS sectors, because I still have a white window on my screen for ITIS sectors report: |
Before a white window, "error 403" message flashes for a second. |
Updated the database manually, works for me now |
That sector now also shows as broken, let me try to rematch it and monitor what happens. |
Fails to rematch, but the name stays and it simply remains as broken. |
OK, I'll do re-assembly of Archostemata from new ITIS. |
Obviously not if its broken. You can manually edit the sector if you know where in ITIS this now belongs |
Let me try to fix this, I am surprised the rematch did not work cause it still exists: |
Worked like a charm to update the subject by searching for Archostemata in the edit menu! |
woops: I already kicked off deletion of Archostemata as a sector in Col |
Also fine, but to preserve history it is always preferrable to rematch and keep the sector |
I verified all sectors in the database and this was the only 1 record missing a subject name. Must have been some weird relict so there is no need to protect the UI against this unexpected response. |
Good. many thanks! |
CLB on PROD
Frontend version: 1bb80f5 February 11, 2022 1:19 PMBackend version: c94dbef February 15, 2022 12:00 AM
@thomasstjerne, @mdoering
I have opened Project - Sectors and typed in "ITIS" awaiting report on ITIS sectors. I have got a white screen (9.45-10.00 am, Champaign).
White screen as a result:
The text was updated successfully, but these errors were encountered: