You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shows the following error in a local dev environment:
Started POST "/mappings" for 127.0.0.1 at 2023-09-11 16:02:34 -0700
Processing by MappingsController#create as */*
Parameters: {"map_from_bioportal_ontology_id"=>"JVTESTONT1", "map_to_bioportal_ontology_id"=>"JVTESTONT3", "map_from_bioportal_full_id"=>"http://www.co-ode.org/ontologies/pizza/pizza.owl#VegetarianPizza", "map_to_bioportal_full_id"=>"http://www.co-ode.org/ontologies/pizza/pizza.owl#VegetarianPizza", "mapping_comment"=>"Testing create new mapping dialog", "mapping_relation"=>"http://www.w3.org/2004/02/skos/core#exactMatch", "mapping_bidirectional"=>"false"}
Completed 500 Internal Server Error in 455582ms (Allocations: 678862)
Exception (["Ontology with ID `https://data.bioontology.org/ontologies/JVTESTONT3` not found"]):
app/controllers/mappings_controller.rb:137:in `create'
The text was updated successfully, but these errors were encountered:
The id does not start with http://, so it calls the function ontology_uri_from_acronym which does not work in this case because the input is not an acronym but a URI id.
I think this PR ncbo/ontologies_api#102 addresses this issue, but it includes a lot of changes not related to this.
Steps to reproduce:
Dialog displays an error message:
REST logs
Show an HTTP 400 response:
vendetti [11/Sep/2023:22:46:26 +0000] "POST /mappings HTTP/1.1" 400 101 0.3748
Rails console
Shows the following error in a local dev environment:
The text was updated successfully, but these errors were encountered: