[ckan-changes] [ckan/ckan] 4daac8: [#3282] Fix exception when requesting /e or /n
GitHub
noreply at github.com
Mon Oct 24 23:57:41 UTC 2016
Branch: refs/heads/master
Home: https://github.com/ckan/ckan
Commit: 4daac8bd5bbc7ed8a8cb3375529433ed4c5cc662
https://github.com/ckan/ckan/commit/4daac8bd5bbc7ed8a8cb3375529433ed4c5cc662
Author: amercader <amercadero at gmail.com>
Date: 2016-10-21 (Fri, 21 Oct 2016)
Changed paths:
M ckan/lib/i18n.py
Log Message:
-----------
[#3282] Fix exception when requesting /e or /n
Fixes #3282
Due to a bug in how we construct the list of available locales in
`get_locales_from_config` we ended up with `e` and `n` in it. If you
actually requested a URL with /e/ as the lang code you got an exception
because Pylons raised a `LanguageError` when trying to access the `e` or
`n` language files.
Commit: 214d7cb61ed3a52fb11bae9069876701155500c1
https://github.com/ckan/ckan/commit/214d7cb61ed3a52fb11bae9069876701155500c1
Author: Tyler Kennedy <tk at tkte.ch>
Date: 2016-10-24 (Mon, 24 Oct 2016)
Changed paths:
M ckan/lib/i18n.py
Log Message:
-----------
Merge pull request #3285 from ckan/3282-bug-in-locale-list
[#3282] Fix exception when requesting /e or /n
Compare: https://github.com/ckan/ckan/compare/f3698a672418...214d7cb61ed3
More information about the ckan-changes
mailing list