Projet

Général

Profil

Bug #55802

action backoffice-fields : affecter n'importe quoi dans un champ carte ne devrait pas produire de 500

Ajouté par Benjamin Dauvergne il y a presque 3 ans. Mis à jour il y a plus de 2 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
-
Début:
23 juillet 2021
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Non
Planning:
Non

Description

La trace https://sentry.entrouvert.org/entrouvert/nfrance/issues/51338 le ticket client #55794.

Exception: invalid coordinates '28 Rue Saint Léon 31400 Toulouse' (missing ;)
  File "wcs/compat.py", line 56, in get
    context = self.get_context_data(**kwargs)
  File "wcs/views.py", line 37, in get_context_data
    body = get_publisher().try_publish(get_request())
  File "quixote/publish.py", line 241, in try_publish
    output = self.root_directory._q_traverse(components)
  File "modules/root.py", line 303, in _q_traverse
    output = Directory._q_traverse(self, path)
  File "quixote/directory.py", line 88, in _q_traverse
    return obj._q_traverse(path)
  File "wcs/backoffice/root.py", line 84, in _q_traverse
    return super()._q_traverse(path)
  File "quixote/directory.py", line 116, in _q_traverse
    return super(AccessControlled, self)._q_traverse(path)
  File "quixote/directory.py", line 88, in _q_traverse
    return obj._q_traverse(path)
  File "wcs/backoffice/management.py", line 488, in _q_traverse
    return super()._q_traverse(path)
  File "quixote/directory.py", line 88, in _q_traverse
    return obj._q_traverse(path)
  File "quixote/directory.py", line 88, in _q_traverse
    return obj._q_traverse(path)
  File "wcs/forms/common.py", line 832, in _q_traverse
    return super()._q_traverse(path)
  File "quixote/directory.py", line 92, in _q_traverse
    return obj()
  File "wcs/backoffice/management.py", line 2857, in _q_index
    return self.status()
  File "wcs/forms/common.py", line 565, in status
    response = self.check_submitted_form(form)
  File "wcs/forms/common.py", line 363, in check_submitted_form
    url = self.submit(form)
  File "wcs/forms/common.py", line 651, in submit
    next_url = self.filled.handle_workflow_form(user, form)
  File "wcs/formdata.py", line 637, in handle_workflow_form
    return wf_status.handle_form(form, self, user)
  File "wcs/workflows.py", line 1762, in handle_form
    url = perform_items(action.items, filled, event=('global-action-button', action.id))
  File "wcs/workflows.py", line 107, in perform_items
    url = perform_items(wf_status.items, formdata, depth=depth - 1, event='continuation') or url
  File "wcs/workflows.py", line 84, in perform_items
    url = item.perform(formdata) or url
  File "wcs/wf/backoffice_fields.py", line 181, in perform
    formdef_field.set_value(formdata.data, new_value)
  File "wcs/fields.py", line 3068, in set_value
    raise Exception('invalid coordinates %r (missing ;)' % value)

Demandes liées

Lié à w.c.s. - Development #60636: crash quand on affecte une valeur invalide à un champ carteFermé13 janvier 2022

Actions

Historique

#1

Mis à jour par Benjamin Dauvergne il y a presque 3 ans

  • Tracker changé de Development à Bug
#3

Mis à jour par Frédéric Péters il y a presque 3 ans

  • Assigné à mis à Frédéric Péters
#4

Mis à jour par Benjamin Dauvergne il y a plus de 2 ans

  • Lié à Development #60636: crash quand on affecte une valeur invalide à un champ carte ajouté
#5

Mis à jour par Frédéric Péters il y a plus de 2 ans

  • Statut changé de Nouveau à Fermé

Fermé via #60636.

Formats disponibles : Atom PDF