AtlasOfLivingAustralia / biocollect

Biocollect front end application
https://biocollect.ala.org.au/
Other
10 stars 15 forks source link

Can't create activity in nrm works project #1262

Open matildastevenson opened 4 years ago

matildastevenson commented 4 years ago

Create activity button opens date selection calendars, even when dates are already selected, so activity can't be saved.

Screen Shot 2020-03-04 at 10 27 56 am

patkyn commented 4 years ago

This is an existing issue. I can replicate this in https://biocollect-test.ala.org.au/works-test/project/index/e31c328f-5d26-4450-bd2a-aa1738251f65

patkyn commented 4 years ago

The cause of it is due to jquery validation. If the activity planned start/end date is not within the project start/end date range, the validation fails but there's no error message displayed, hence the focus is still at the datepicker. I can also see that this is also an issue in the other parts of the ui which uses datepicker and jquery validation engine code, for example, the date field in Edit Blog in the same project.

matildastevenson commented 4 years ago

Thanks for investigating, Patricia. Sounds like we could fix this issue after the grails3 release