#176 AppointmentModel can save appointments with empty text and null dates

api-only
nobody
None
Defect
7
1.7.7
2013-04-11
2013-04-08
Rehema
No

SUMMARY
AppointmentModel class can save appointments with the text set to the empty string and date set to null.

STEPS TO REPRODUCE
1. Create an appointment object and set the date to null and its text to the empty string.
2. Save the created object.
3. It can be observed that its added to the database.

SUGGESTED FIX
Should not allow the creation of such objects since an appointment with no date and empty string has no meaning. An exception should be thrown and the user asked to enter a valid date and text.

SOFTWARE & HARDWARE
Microsoft Windows XP Professional 2002
Java Version 1.7.0
Borg Calendar version 1.7.

Discussion

  • Mike Berger
    Mike Berger
    2013-04-08

    • status: open --> api-only
     
  • Thomas Moore
    Thomas Moore
    2013-04-11

    This bug is being worked on.