UCL / frrant

2 stars 0 forks source link

Hotfix/definite fields #465

Closed acholyn closed 4 months ago

acholyn commented 4 months ago

There's been a slew of errors arising from trying to update links, eg:

Internal Server Error: /history/frrant/testimonium/update-link/343

KeyError at /history/frrant/testimonium/update-link/343
'definite_antiquarian'

This seems to be because when initialising the form, there's no data for definite_antiquarian. As such, I've set the definite values to be false if they cannot be found. The form can then initialise and the fields updated as necessary.

Similar issue with saving the work introduction form as sometimes there isn't an attached TOF instance