agroportal / project-management

Repository used to consolidate documentation about the AgroPortal project and track content related issues.
http://agroportal.lirmm.fr
7 stars 0 forks source link

Edition de la métadonnées en échec supprime le lien a la soumission #424

Closed jonquet closed 10 months ago

jonquet commented 1 year ago

Apres une edition en échec de la métadonnées de GR-TAX (changement de la propriété open search description) ... un autre edition (ajouter les s aux liens HTTP de la métadonnées) ... a provoquer une déconnection entre l'ontologie et sa submission.

A noter: GR-TAX avait une seule submisison.

Capture d’écran 2023-06-05 à 15 10 06
syphax-bouazzouni commented 10 months ago

Fixed

image

And don't know the original cause, but the issue was that the submission lost its connection to the ontology. When we do ontology.submissions is an empty array and submission.ontologyis null.

If you can't reproduce it @jonquet , please close this.

jonquet commented 10 months ago

Was not able to duplicate but realise recently the submission for GR-TAX is gone again.

syphax-bouazzouni commented 10 months ago

I still can see it, is it not a cache issue on your side?

jonquet commented 10 months ago

Indeed, I can see the submision too now. Something happenned. Just to proof I am not crazy, I copy/paste the admin page row for this onto (will certainly go away at next refresh):

Capture d’écran 2023-09-13 à 21 14 10

To be continued

syphax-bouazzouni commented 10 months ago

No, the submission was indeed lost, since last June. I restored it today using the ncbo_cron console. You did not see it after because the cache did not get updated on your side. And the issue was that if you save a submission with its property ontology set as null it will become an orphan submission that we can't find or attach to an existent ontology. (But I don't know where in the UI this could happen)

jonquet commented 10 months ago

Thank for details. Good to me so.