placeholder with plugins in language that don't exist anymore raises 500 #2732

Closed
digi604 opened this Issue Feb 26, 2014 · 0 comments

1 participant

@digi604
Divio AG member

def get_filled_languages(self):
"""
Returns language objects for every language for which the placeholder
has plugins.
This is not cached as it's meant to eb used in the frontend editor.
"""
return [get_language_object(lang_code) for lang_code in set(self.get_plugins().values_list('language', flat=True))]

LanguageError at /en/
Language not found: de

@digi604 digi604 added the blocker label Feb 26, 2014
@digi604 digi604 added this to the 3.0 milestone Feb 26, 2014
@digi604 digi604 self-assigned this Feb 26, 2014
@digi604 digi604 added a commit to digi604/django-cms that referenced this issue Feb 28, 2014
@digi604 digi604 fixes #2732 2ab676f
@digi604 digi604 closed this in #2761 Feb 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment