infoportugal/wagtail-modeltranslation

slug validation breaks on non-consistent slug transl struct

patroqueeet opened this issue · 0 comments

https://github.com/infoportugal/wagtail-modeltranslation/blob/master/wagtail_modeltranslation/patch_wagtailadmin.py#L363 is assuming for AVAILABLE_LANGUAGES there is always a translated slug. if languages are not always all filled, then this will break due to "" in [""].

expected: don't run on empty translated slugs...