Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
patroqueeet opened this issue Jan 21, 2022 · 0 comments
Open

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

patroqueeet opened this issue Jan 21, 2022 · 0 comments

Comments

@patroqueeet
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant