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...)
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
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/).
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 :
- 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
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 :
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 :
- 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
Updated by Transition automatique 3 months ago
- Status changed from Résolu (à déployer) to Solution déployée