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...)
Début:
07 juin 2023
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Non
Planning:
Non
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)
Historique
Mis à jour par Corentin Séchet il y a 11 mois
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/).
Mis à jour par Robot Gitea il y a 10 mois
- Statut changé de Nouveau à Solution proposée
- Assigné à mis à Lauréline Guérin
Lauréline Guérin (lguerin) a ouvert une pull request sur Gitea concernant cette demande :
- URL : https://git.entrouvert.org/entrouvert/chrono/pulls/103
- Titre : manager: fix views with year < 1000 (#78231)
- Modifications : https://git.entrouvert.org/entrouvert/chrono/pulls/103/files
Mis à jour par Robot Gitea il y a 10 mois
- Statut changé de Solution proposée à Solution validée
Valentin Deniaud (vdeniaud) a approuvé une pull request sur Gitea concernant cette demande :
Mis à jour par Robot Gitea il y a 10 mois
- Statut changé de Solution validée à Résolu (à déployer)
Lauréline Guérin (lguerin) a mergé une pull request sur Gitea concernant cette demande :
- URL : https://git.entrouvert.org/entrouvert/chrono/pulls/103
- Titre : manager: fix views with year < 1000 (#78231)
- Modifications : https://git.entrouvert.org/entrouvert/chrono/pulls/103/files
Mis à jour par Transition automatique il y a 10 mois
- Statut changé de Résolu (à déployer) à Solution déployée