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

submission date is always the same on stageportal #488

Closed saubin78 closed 7 months ago

saubin78 commented 9 months ago

I had to manually edit the metadata to set it to the correct date. The date automatically added by stageportal is the same as the creation date, which is wrong and very disturbing when submitting a new version. The impression is that the last submission failed (as the date remains the same) I don't know if it is the same on Agroportal

jonquet commented 9 months ago

J'ai observé un peu pareil aussi. @saubin78 tu as l'exemple negatif sur Stage et le positif the Agro ?

saubin78 commented 9 months ago

Finally, on stageportal, it looks like it is the same date as the previous submission. Submission #10 for MILKOLIGO was done on 22/02 and stamped 21/02 (yesterday I changed the submission date manually for submissions #8 and #9) image

saubin78 commented 9 months ago

I don't have an example for agroportal (and no new submission to add for now) Note that INRAE thesaurus is not a good example as I submitted all the versions the same day.

syphax-bouazzouni commented 7 months ago

Fixed in https://github.com/ontoportal-lirmm/bioportal_web_ui/pull/576

image

the issue was that we copied all metadata from one submission to another, except some, defined in the list below, the solution was to add creationDate to that list.

    attr_to_not_copy = [:versionIRI, :version, :deprecated, :valid, :curatedOn,
                        :pullLocation, :metadataVoc, :hasPriorVersion, :creationDate,
                        :submissionStatus]

We will need to curate the corrupted metadata, manually, I created this issue to track that https://github.com/agroportal/project-management/issues/513

jonquet commented 7 months ago

I might suggest a hotfix in prod for this one.