Description: The seeding report in Barnkit of FarmData2 produces incorrect results when invalid dates are entered for startDate and endDate, such as 02/31/yyyy - mm/dd/yyyy, 11/31/2021- mm/dd/yyyy (The characters in this two example can be represented by any month, date, or year). The invalid dates can only be entered by typing directly into the input box and cannot be achieved using the calendar function.
It seems like most of the errors occur because a nonexistent day in a month has been entered. Also, entering a day that has not happened yet will cause an error as well. When errors occur, the report that will be generated are all identical.
PS: The original farmdata1 might contain this issue as well. An invalid date such as February 31 can be used to search, but I cannot give a definite conclusion as I wasn't able to test further with the guest edition.
Directions to Reproduce:
- Open up the FarmData2 App and Log in
- Click on the BarnKit Tab
- Click on the Seeding Report Tab
- Enter the testing value in the start date and end date field
- Click on the generate report button
Expected result: Shown and described in the picture.
Actual result: Shown and described in the pictures.
Issue by WilliamC529
Friday Apr 29, 2022 at 16:45 GMT
Originally opened as DickinsonCollege#451