Swarthmore / litterfall

Application and Scripts used for the Litterfall Project
0 stars 1 forks source link

Cannot add another new observation #6

Closed iopoku1 closed 11 years ago

iopoku1 commented 11 years ago

I was able to add a new observation which got saved. But when I try to update that same tree with another new observation, it doesn't work out

mpitser commented 11 years ago

only happens when most recent entry is today or in the future

mpitser commented 11 years ago

changed newObservation so that if today is already a key, we add a new dummy diameter object with tomorrow's date as the key. Since the diameter object will not pass validation with a future date, the date must be changed by the user, but this allows users to keep adding new entries.