Field volume
in the deposit should not be stricter than its equivalent in the document
#878
Labels
client request
correction
An implemented feature doesn't work as expected
effort: minor
Solved quickly
f: deposits
Related to deposits
f: editor
Concerns editor based on JSON schema AND custom editor
p-Medium
To set a medium priority.
How it works
Deposit: field
volume
has the following regex"^[0-9]+$"
:https://github.com/rero/sonar/blob/master/sonar/modules/deposits/jsonschemas/deposits/deposit-v1.0.0_src.json#L574
This is not the case in the document:
https://github.com/rero/sonar/blob/master/sonar/modules/documents/jsonschemas/documents/document-v1.0.0_src.json#L1503
Improvement suggestion
Put the same validation logic in the deposit than in the document, that is: more flexible.
The text was updated successfully, but these errors were encountered: