libraries-fi / kirkanta

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

Staff phone number is required and thus cannot be saved without one anymore. #13

Closed olli-suutari-jkl closed 5 years ago

olli-suutari-jkl commented 5 years ago

When editing a person and leaving phone number blank or entering a "invalid value" (such as -) results in being unable to save/update the contact due to a validation error.

image

From dev console: "106390:1 Failed to load resource: the server responded with a status of 422 (Unprocessable Entity)"

humble-ahitofel commented 5 years ago

Hi Olli, I asked about this of our few content managers and it seems, that phone number should not be a required field. I'll try to get this fixed when I have the time, but for now, I'll mark this as a bug.