se701g2 / Doto

Todo application for Group 2
https://doto.azurewebsites.net/
MIT License
12 stars 42 forks source link

Bug/294 can't edit task due to earliest date addition #295

Closed nikotj1 closed 4 years ago

nikotj1 commented 4 years ago

Closes #294

jordansimsmith commented 4 years ago

Hey @nikotj1 , I get this error when editing a task.

ss

jordansimsmith commented 4 years ago

I also get this error logged in the backend

"task validation failed: startDate: Cast to Date failed for value \"Invalid Date\" at path \"startDate\", endDate: Cast to Date failed for value \"Invalid Date\" at path \"endDate\", earliestDate: Cast to Date failed for value \"Invalid Date\" at path \"earliestDate\""
nikotj1 commented 4 years ago

Added validation in an attempt to fix the bug.

nikotj1 commented 4 years ago

@all-contributors please add @nikotj1 for bug, design

allcontributors[bot] commented 4 years ago

@nikotj1

I've put up a pull request to add @nikotj1! :tada: