Bug #3639
Impossible d'ajouter un acte pour un groupe d'intervenant dans 'saisie des actes'
100%
Description
Dans participants on saisie 'cmpp' ce qui permet de selectionner le groupe CMPP.
Cependant il est ensuite impossible d'ajouter le rdv, l'exception levée est :
[2013-09-19 Thu 11:41:11] ERROR django.request.Internal Server Error: /cmpp/actes/2013-09-19/act-new/
Traceback (most recent call last):
File "/home/calebasse/venv/lib/python2.6/site-packages/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/calebasse/venv/lib/python2.6/site-packages/django/contrib/auth/decorators.py", line 20, in _wrapped_view
return view_func(request, *args, **kwargs)
File "/home/calebasse/venv/lib/python2.6/site-packages/django/views/generic/base.py", line 48, in view
return self.dispatch(request, *args, **kwargs)
File "/home/calebasse/venv/calebasse/calebasse/cbv.py", line 49, in dispatch
result = super(ServiceViewMixin, self).dispatch(request, **kwargs)
File "/home/calebasse/venv/lib/python2.6/site-packages/django/views/generic/base.py", line 69, in dispatch
return handler(request, *args, **kwargs)
File "/home/calebasse/venv/lib/python2.6/site-packages/django/views/generic/edit.py", line 172, in post
return super(BaseCreateView, self).post(request, *args, **kwargs)
File "/home/calebasse/venv/lib/python2.6/site-packages/django/views/generic/edit.py", line 137, in post
if form.is_valid():
File "/home/calebasse/venv/lib/python2.6/site-packages/django/forms/forms.py", line 124, in is_valid
return self.is_bound and not bool(self.errors)
File "/home/calebasse/venv/lib/python2.6/site-packages/django/forms/forms.py", line 115, in _get_errors
self.full_clean()
File "/home/calebasse/venv/lib/python2.6/site-packages/django/forms/forms.py", line 270, in full_clean
self._clean_fields()
File "/home/calebasse/venv/lib/python2.6/site-packages/django/forms/forms.py", line 281, in _clean_fields
value = field.widget.value_from_datadict(self.data, self.files, self.add_prefix(name))
File "/home/calebasse/venv/lib/python2.6/site-packages/django_ajax_selects-1.2.5-py2.6.egg/ajax_select/fields.py", line 198, in value_from_datadict
return [long(val) for val in data.get(name,'').split('|') if val]
ValueError: invalid literal for long() with base 10: 'group:1'
Associated revisions
fixing 'add_dialog' function
Closes #3639
History
Updated by Serghei Mihai over 11 years ago
- Status changed from Nouveau to Résolu (à déployer)
- % Done changed from 0 to 100
Appliqué par commit aps42:calebasse|commit:bf3c8c827dc9ad2bdff9df20fb7d4e7e5e7b6d66.
Updated by Serghei Mihai over 11 years ago
Appliqué par commit calebasse|commit:bf3c8c827dc9ad2bdff9df20fb7d4e7e5e7b6d66.
Updated by Serghei Mihai over 11 years ago
Appliqué par commit aps42:calebasse|commit:5a19a4759cf40942d7af91ec72fefc93210bac56.
Updated by Serghei Mihai over 11 years ago
Appliqué par commit calebasse|commit:5a19a4759cf40942d7af91ec72fefc93210bac56.
actes: fixing the participants list retreiving by service
Closes #3639