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

Add metadata relation rules #393

Open hibadjebabria169 opened 1 year ago

hibadjebabria169 commented 1 year ago

Issue related to the verification of the rules between the properties:

Notes :

let : version n-1 = previous version, n = current version

jonquet commented 1 year ago

J'ai re-edité les regles aujourd'hui. A voir si elles vont bien pour @syphax-bouazzouni

syphax-bouazzouni commented 1 year ago

I reviewed these rules and referenced them here https://docs.google.com/spreadsheets/d/1DuHmz0G6NrLB6jXuU040Nf-ZcDIyOjtt7AT1-NSgWHQ/edit?usp=sharing. Some of them are dedicated validators and others are generic ones.

The new validators to implement are

Generic ones

Submission specific

Validators

Update Callback

syphax-bouazzouni commented 6 months ago
  • New submission creation must make the previous version deprecated - error did not show - validator not called
  • New submission creation must make the validity date of the previous submission the modification date of the new submission (or submission date if no modification date is available). the error did not show - the validator was not called
  • New submission creation has Prior Version the id of the previous submission - error not showed - validator not called Source: https://docs.google.com/spreadsheets/d/1lEdrxJKKOJYbSYH_Ptzu2dUliHAKcFTirrw8vs9Hcuk/edit#gid=713725591&fvid=1197518333