Project

General

Profile

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')

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

Status:
Solution déployée
Priority:
Normal
Target version:
-
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

Revision a40c5a3c (diff)
Added by Frédéric Péters 4 days ago

misc: do not accept None as filter internal id value (#96204)

History

#1

Updated by Lauréline Guérin 4 days ago

  • Project changed from Suivi des traces to w.c.s.
#2

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 :

#3

Updated by Robot Gitea 4 days ago

  • Status changed from En cours to Solution proposée
#4

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 :

#5

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 :

#6

Updated by Transition automatique 3 days ago

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

Also available in: Atom PDF