Bug #8923
Erreur dans check_hobos à la création d'une nouvelle instance d'un w.c.s. communal en dév
Start date:
09 November 2015
Due date:
% Done:
0%
Estimated time:
Patch proposed:
Yes
Planning:
Description
updating instance in /var/lib/wcs-au-quotidien/role-ville-site.montpellier.entrouvert.org Traceback (most recent call last): File "/usr/sbin/wcsctl", line 8, in <module> ctl.run(sys.argv[1:]) File "/usr/lib/python2.7/dist-packages/wcs/qommon/ctl.py", line 159, in run return cmd.run(args, options) File "/usr/lib/python2.7/dist-packages/wcs/qommon/ctl.py", line 69, in run return self.execute(base_options, sub_options, args) File "/usr/lib/python2.7/dist-packages/wcs/ctl/check_hobos.py", line 102, in execute self.update_profile(self.all_services.get('profile', {}), pub) File "/usr/lib/python2.7/dist-packages/wcs/ctl/check_hobos.py", line 158, in update_profile idp['attribute-mapping'][str(attribute_name)] = str(field_id) TypeError: 'NoneType' object does not support item assignment
Files
Associated revisions
History
Updated by Benjamin Dauvergne over 9 years ago
- File 0001-check_hobos-fix-attribute_mapping-if-it-contains-Non.patch 0001-check_hobos-fix-attribute_mapping-if-it-contains-Non.patch added
- Assignee set to Benjamin Dauvergne
Updated by Benjamin Dauvergne over 9 years ago
- Project changed from Montpellier Méditerranée Métropole to w.c.s.
- Patch proposed changed from No to Yes
Updated by Benjamin Dauvergne over 9 years ago
Je n'ai pas vraiment cherché à savoir comment le None était arrivé dans le config.pck à cet endroit.
Updated by Frédéric Péters over 9 years ago
- Status changed from Nouveau to En cours
Le squelette utilisé en dev contient cette erreur; mais ack pour le patch.
Updated by Benjamin Dauvergne over 9 years ago
- Status changed from En cours to Résolu (à déployer)
Updated by Frédéric Péters over 9 years ago
- Status changed from Résolu (à déployer) to Fermé
- Target version set to v1.22
check_hobos: fix attribute_mapping if it contains None (#8923)