[go: up one dir, main page]

Skip to content

Crash when creating language with empty name

If a language is sent with just whitespace in its name, a crash occurs in Language.get_or_create, as Ecto silently converts the value into nil. Check this report: https://github.com/elixir-ecto/ecto/issues/1684

We should explicitly tell Ecto not to do the conversion with the empty_values option.