validation of collection “Publisher URL” & “Self-citation URL” differs from book validation
Expected behaviour
All links require a http/https prefix or pure doi value, but collections don't provide these validations
Current behaviour
collection fields do not have the same validation as book fields for “Publisher URL” & “Self-citation URL” . In book settings user gets error message if the entry is not - urls starting with http/https or “doi”
also minor note, the header text for this field is differnt, “Self-citation URL” vs "citation self url"
Steps to reproduce
- go to a collection settings
- enter anything for “Publisher URL” & “Self-citation URL”
- see no error and save succesfully
NCBI's priority feedback
? - these are also domain attributes so we can run scripted reports on our NCBI backend to find any errors that come up before it is fixed to cleanup
QA Steps
- Go to a collection page
- Open the settings modal
- Add anything to 'Publisher URL' & 'Self-citation URL'
- Try to save to see the validation on save settings modal
- Add the urls correctly and doi for 'self-citation url' to confirm that it works fine