Bug #72625
api datetimes, agenda virtuel, TypeError: '<=' not supported between instances of 'NoneType' and 'list'
Début:
19 décembre 2022
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Non
Planning:
Non
Description
https://sentry.entrouvert.org/entrouvert/publik/issues/98764/
TypeError: '<=' not supported between instances of 'NoneType' and 'list' (12 additional frame(s) were not displayed) ... File "chrono/agendas/models.py", line 611, in get_effective_time_periods_virtual for weektime_interval in IntervalSet.simple(*time_period_interval) - closed_hours_by_days: File "chrono/interval.py", line 201, in __sub__ return self.__class__.from_ordered(gen()) File "chrono/interval.py", line 76, in from_ordered return cls(iterable, already_sorted=True) File "chrono/interval.py", line 53, in __init__ for begin, end in iterable: File "chrono/interval.py", line 180, in gen if c1[1] <= c2[0]:
Révisions associées
Historique
Mis à jour par Robot Gitea il y a plus d'un an
- Statut changé de Nouveau à Solution proposée
Valentin Deniaud (vdeniaud) a ouvert une pull request sur Gitea concernant cette demande :
- URL : https://gitea.entrouvert.org/entrouvert/chrono/pulls/26
- Titre : manager: do not show weekday indexes field for exclusion periods (#72625)
- Modifications : https://gitea.entrouvert.org/entrouvert/chrono/pulls/26/files
Mis à jour par Robot Gitea il y a plus d'un an
- Statut changé de Solution proposée à Résolu (à déployer)
Valentin Deniaud (vdeniaud) a mergé une pull request sur Gitea concernant cette demande :
- URL : https://gitea.entrouvert.org/entrouvert/chrono/pulls/26
- Titre : manager: do not show weekday indexes field for exclusion periods (#72625)
- Modifications : https://gitea.entrouvert.org/entrouvert/chrono/pulls/26/files
Mis à jour par Transition automatique il y a plus d'un an
- Statut changé de Résolu (à déployer) à Solution déployée
manager: do not show weekday indexes field for exclusion periods (#72625)