CCP-WSI / research-software-directory

The Research Software Directory is a content management system that is tailored to software.
Apache License 2.0
0 stars 1 forks source link

Project start and end dates required #129

Closed glpoulter closed 7 months ago

glpoulter commented 7 months ago

Project start and end dates aren't mandatory in the admin page but if they're not entered then the whole application breaks as application.py tries to do a calculation with them to determine project status (i.e. active or complete).

In the future, we might want to make this slightly more nuanced i.e. allow projects to be added which are starting in the future? but the easiest thing for now is just to make the project start and end dates in the admin page mandatory - and we need to release soon so this seems like the best choice for now at least.

glpoulter commented 7 months ago

If you add an end date which is before the start date (eg you've got the 2 the wrong way round), it doesn't complain. This is a bug really, but as it would be cause by user error and this release (release 2) is still just a prototype this won't be fixed for release 2 and I'll put this in a new issue