Bug #96204
filter-internal-id avec une valeur nulle (TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType')
Start date:
01 October 2024
Due date:
% Done:
0%
Estimated time:
Patch proposed:
No
Planning:
No
Description
https://sentry.entrouvert.org/entrouvert/publik/issues/133909/
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType' (7 additional frame(s) were not displayed) ... File "wcs/api.py", line 319, in _q_traverse return super()._q_traverse(path) File "quixote/directory.py", line 92, in _q_traverse return obj() File "wcs/backoffice/management.py", line 2718, in json criterias = self.get_criterias_from_query() File "wcs/backoffice/management.py", line 1928, in get_criterias_from_query return self.get_view_criterias(query_overrides, statistics_fields_only=statistics_fields_only) File "wcs/backoffice/management.py", line 2175, in get_view_criterias filter_field_value = int(filter_field_value)
Associated revisions
History
Updated by Robot Gitea 4 days ago
- Status changed from Nouveau to En cours
- Assignee set to Frédéric Péters
Frédéric Péters (fpeters) a ouvert une pull request sur Gitea concernant cette demande :
- URL : https://git.entrouvert.org/entrouvert/wcs/pulls/1853
- Titre : WIP: misc: do not accept None as filter internal id value (#96204)
- Modifications : https://git.entrouvert.org/entrouvert/wcs/pulls/1853/files
Updated by Robot Gitea 4 days ago
- Status changed from Solution proposée to Solution validée
Gael Pasgrimaud (gpasgrimaud) a approuvé une pull request sur Gitea concernant cette demande :
Updated by Robot Gitea 4 days ago
- Status changed from Solution validée to Résolu (à déployer)
Frédéric Péters (fpeters) a mergé une pull request sur Gitea concernant cette demande :
- URL : https://git.entrouvert.org/entrouvert/wcs/pulls/1853
- Titre : misc: do not accept None as filter internal id value (#96204)
- Modifications : https://git.entrouvert.org/entrouvert/wcs/pulls/1853/files
Updated by Transition automatique 3 days ago
- Status changed from Résolu (à déployer) to Solution déployée
misc: do not accept None as filter internal id value (#96204)