# HG changeset patch # User Thierry Florac # Date 1540829706 -3600 # Node ID 6befdc90c967ab5990a940f3841e50f1247adc77 # Parent 3d3ac985b5bbc17355b11bf7e0a2fa99495aa8fd Updated slots vocabulary to avoid encoding problems diff -r 3d3ac985b5bb -r 6befdc90c967 src/pyams_portal/template.py --- a/src/pyams_portal/template.py Tue Oct 23 12:13:33 2018 +0200 +++ b/src/pyams_portal/template.py Mon Oct 29 17:15:06 2018 +0100 @@ -304,7 +304,7 @@ def __init__(self, context): config = IPortalTemplateConfiguration(context) - terms = [SimpleTerm(slot_name) for slot_name in sorted(config.slot_names)] + terms = [SimpleTerm(slot_name, title=slot_name) for slot_name in sorted(config.slot_names)] super(PortalTemplateSlotsVocabulary, self).__init__(terms)