Skip to content

slug validation breaks on non-consistent slug transl struct #352

@patroqueeet

Description

@patroqueeet

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions