Herder-IT-Solutions / HerderBib

Bibliotheksverwaltung für Schulen
6 stars 2 forks source link

Null checks everywhere please #43

Open bvorak opened 7 years ago

bvorak commented 7 years ago

GUI example: it shouldn't be possible to enter empty strings

cnmicha commented 7 years ago

database unit is fine

frcroth commented 7 years ago

gui is fine

ghost commented 7 years ago

for example in procedure TForm1.BtInfoStudShowClick(Sender: TObject); you have to do a null check because StrToInt will not work with '' @frcroth

cnmicha commented 7 years ago

Barcode generator is fine because they have only functions with required parameters

frcroth commented 7 years ago

Any more places where this needs to happen?