libraries-fi / kirkanta

Administrator interface for Kirjastohakemisto, the Finnish Library Database
MIT License
1 stars 2 forks source link

Fix for the 'not null' violation when adding a new postal address to existing library #34

Closed humble-ahitofel closed 3 years ago

humble-ahitofel commented 4 years ago

When adding new postal address to the existing library, it will cause a 'not null' error with the default language code field. However, this does not happen when creating a new library entry with postal address. The problem occurs only when adding postal address to a pre-existing library.

The original issue: https://projektit.kirjastot.fi/issues/5824