Closed lreiser closed 5 years ago
yes sorry it is more or less a duplicate.
I am thinking that enforcing the validation step before getting to the review submission phase would eliminate a lot of the subsequent issues surrounding submission review.
Pushed a fix. Needs review
I don't think this is working or perhaps not in all the right places. I was able to move to the review screen from submission without actually entering in an annotation. There should have been an error reported.
The production version includes visual highlights
But to be fair the pop up/tooltips are not displayed consistently in Production.
Errors on submission page that should generate a warning
for 5 and 6 there must be SOME value entered there but the values do NOT have to correspond to existing terms in the database.
Partially fixed
all display error messages. However, item 6 condition was not met. I was able to move on to the submission review page without adding required 'evidence with' then when I tried to submit the annotations there was an error - the message displayed was [object ProgressEvent]
The types of annotations I tried with missing information gave errors correctly and showed more informational error messages. I can't guarantee I got every type of error though, this is something that will need more testing by sponsors as well.
Evidence with currently allows an empty field to be sent through if nothing was entered.
Error message conditions are met.
Submitters should not be able to create an annotation that is lacking
If one of the required fields is missing, an informative error message should appear if 1 the submitter tries to create another annotation and the previous annotation is incomplete 2 the submitter clicks review submission and one of the annotations is missing data
Try creating an annotation on http://toastdos.phoenixbioinformatics.org/
1.Login 2.Enter PMID = 27095837
You should see an error message pop up indicating method is required see screenshots attached for examples.