rogerhyam / wfo-backbone-ui

This is bootstrap based UI for experts to edit the World Flora Online taxonomy.
GNU General Public License v3.0
0 stars 0 forks source link

Year of publications should never be 0. Set to null on save and fetch from db. #100

Closed rogerhyam closed 5 months ago

rogerhyam commented 11 months ago

We have 2700 names with pub date of 0. This should not occur

Also look into pre-start date names as an issue. This could be added to the validity checking scripts.

rogerhyam commented 5 months ago

There is a catch in the Name object to prevent 0 being saved to the db and the 238 instances have been changed from 0 to null. Unless there is some other import mechanism that isn't doing right that should be year = 0 put to bed.