Skip to content
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

404 Errors in Portal Post v2.8.0 Release #553

Closed
Bilelkihal opened this issue May 28, 2024 · 7 comments
Closed

404 Errors in Portal Post v2.8.0 Release #553

Bilelkihal opened this issue May 28, 2024 · 7 comments
Assignees
Labels

Comments

@Bilelkihal
Copy link
Member

Description

After releasing version 2.8.0, we are experiencing multiple 404 errors throughout the portal.

Potential Cause

The issue seems to be related to the following call in the UI:
LinkedData::Client::Models::Ontology.find_by_acronym(ontology).first
This call is returning an array instead of a hash.

@Bilelkihal Bilelkihal added the bug label May 28, 2024
@Bilelkihal Bilelkihal self-assigned this May 28, 2024
@syphax-bouazzouni
Copy link
Contributor

what is the content if this array?

@Bilelkihal
Copy link
Member Author

Now I tried many times but I can't reproduce the error, but the last time I used the master of ontologies_api_ruby_client instead of development in my local environnement. I got that error and the content of the array was another array and then the hash of the ont,
the expected structure is one array, but we I got a double one

@syphax-bouazzouni
Copy link
Contributor

This issue was resolved in ontoportal-lirmm/bioportal_web_ui#632 (specifically this commit ontoportal-lirmm/ontologies_api_ruby_client@f91c32d) and deployed in production.
If you saw this error in your machine, it is surely because you have not done a git pull to get the latest version.

But even in production, @jonquet saw this in production yesterday #551 (comment), which is strange. There may be another hidden case where this occurs.

@syphax-bouazzouni
Copy link
Contributor

Do you know if this still happens or do we close? @jonquet @Bilelkihal

@jonquet
Copy link
Contributor

jonquet commented Jun 5, 2024

I have not experienced it anymore except with LEXEAU but we are not sure of reasons with multiples edit/loading of the resource by the devolper

@Bilelkihal
Copy link
Member Author

@syphax-bouazzouni
My side, this issue has not recurred

@syphax-bouazzouni
Copy link
Contributor

I have not experienced it anymore except with LEXEAU but we are not sure of reasons with multiples edit/loading of the resource by the devolper

LEXEAU is fixed by this ontoportal-lirmm/bioportal_web_ui#645

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants