Project

General

Profile

Bug #90937

cellules lingo, ne pas planter si une régie n'existe pas (Regie.DoesNotExist: Regie matching query does not exist.)

Added by Sentry Io 26 days ago. Updated 14 days ago.

Status:
Solution déployée
Priority:
Normal
Target version:
-
Start date:
22 May 2024
Due date:
% Done:

0%

Estimated time:
Patch proposed:
No
Planning:
No

Description

https://sentry.entrouvert.org/entrouvert/publik/issues/126214/

Regie.DoesNotExist: Regie matching query does not exist.
(47 additional frame(s) were not displayed)
...
  File "combo/apps/lingo/models.py", line 1623, in get_cell_extra_context
    elements, errors = self.get_elements(user=context['user'], payer_external_id=payer_external_id)
  File "combo/apps/lingo/models.py", line 1604, in get_elements
    for r in self.get_regies():
  File "combo/apps/lingo/models.py", line 1465, in get_regies
    return [Regie.objects.get(slug=self.regie)]
  File "django/db/models/manager.py", line 85, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "django/db/models/query.py", line 435, in get
    raise self.model.DoesNotExist(

Associated revisions

Revision 148fd5b0 (diff)
Added by Lauréline Guérin 24 days ago

lingo: ignore unknown Regie on lingo cells (#90937)

History

#1

Updated by Lauréline Guérin 26 days ago

  • Project changed from Suivi des traces to Combo
#3

Updated by Robot Gitea 26 days ago

  • Status changed from Nouveau to En cours
  • Assignee set to Lauréline Guérin

Lauréline Guérin (lguerin) a ouvert une pull request sur Gitea concernant cette demande :

#4

Updated by Robot Gitea 25 days ago

  • Status changed from En cours to Solution proposée
#5

Updated by Robot Gitea 25 days ago

  • Status changed from Solution proposée to Solution validée

Benjamin Dauvergne (bdauvergne) a approuvé une pull request sur Gitea concernant cette demande :

#6

Updated by Robot Gitea 24 days ago

  • Status changed from Solution validée to Résolu (à déployer)

Lauréline Guérin (lguerin) a mergé une pull request sur Gitea concernant cette demande :

#7

Updated by Transition automatique 14 days ago

  • Status changed from Résolu (à déployer) to Solution déployée

Also available in: Atom PDF