ncbo / bioportal-project

Serves to consolidate (in Zenhub) all public issues in BioPortal
BSD 2-Clause "Simplified" License
8 stars 5 forks source link

New submission creation for AIO fails with duplicate resource ID error #259

Closed jvendetti closed 2 years ago

jvendetti commented 2 years ago

End user reported on the support list that they were unable to create a new submission for the AIO ontology.

Steps to reproduce:

Form fails to submit with the following error displayed:

Screen Shot 2022-09-02 at 11 53 53 AM

Plain text error:

[:error, #<OpenStruct links=nil, context=nil, proc_naming=#<OpenStruct links=nil, context=nil, duplicate="There is already a persistent resource with id `http://data.bioontology.org/ontologies/AIO/submissions/2`">>]
jvendetti commented 2 years ago

The submission object with an ID of 2 wasn't accessible via an ncbo_cron console session. I used a curl command to manually delete the object from the triplestore, after which I was able to use the Rails application to create a new submission with the desired pull URL from the end user. The ontology is now fully accessible in BioPortal.