Project

General

Profile

Bug #78231

agendas: vues jour/semaine/mois avec une année < 1000 (NoReverseMatch: Reverse for 'chrono-manager-agenda-day-view' with keyword arguments '{'pk': 4, 'year': 220, 'mont...)

Added by Sentry Io 4 months ago. Updated 3 months ago.

Status:
Fermé
Priority:
Normal
Category:
-
Target version:
-
Start date:
07 June 2023
Due date:
% Done:

0%

Estimated time:
Patch proposed:
No
Planning:
No

Description

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

NoReverseMatch: Reverse for 'chrono-manager-agenda-day-view' with keyword arguments '{'pk': 4, 'year': 220, 'month': '02', 'day': '01'}' not found. 1 pattern(s) tried: ['manage/agendas/(?P<pk>\\d+)/day/(?P<year>[0-9]{4})/(?P<month>[0-9]+)/(?P<day>[0-9]+)/$']
(48 additional frame(s) were not displayed)
...
  File "django/template/base.py", line 796, in resolve
    value = self._resolve_lookup(context)
  File "django/template/base.py", line 858, in _resolve_lookup
    current = current()
  File "chrono/manager/views.py", line 1377, in get_previous_day_url
    return reverse(
  File "django/urls/base.py", line 86, in reverse
    return resolver._reverse_with_prefix(view, prefix, *args, **kwargs)
  File "django/urls/resolvers.py", line 698, in _reverse_with_prefix
    raise NoReverseMatch(msg)

History

#1

Updated by Lauréline Guérin 4 months ago

  • Project changed from Suivi des traces to Chrono
#2

Updated by Corentin Séchet 4 months ago

C'est moi qui faisait des tests, ça le fait systématiquement quand on cherche un créneau pour un rendez vous au premier millénaire (Par exemple : https://agendas.services.tours.fr/manage/agendas/4/day/0800/12/25/).

#3

Updated by Robot Gitea 3 months ago

  • Status changed from Nouveau to Solution proposée
  • 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 3 months ago

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

Valentin Deniaud (vdeniaud) a approuvé une pull request sur Gitea concernant cette demande :

#5

Updated by Robot Gitea 3 months 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 :

#6

Updated by Transition automatique 3 months ago

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

Updated by Transition automatique 23 days ago

Automatic expiration

Also available in: Atom PDF