Projet

Général

Profil

Bug #70644

get_int_or_400 avec une liste (TypeError: int() argument must be a string, a bytes-like object or a number, not 'list')

Ajouté par Sentry Io il y a plus d'un an. Mis à jour il y a plus d'un an.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
-
Début:
25 octobre 2022
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

https://sentry.entrouvert.org/entrouvert/publik/issues/96141/

TypeError: int() argument must be a string, a bytes-like object or a number, not 'list'
(8 additional frame(s) were not displayed)
...
  File "wcs/backoffice/management.py", line 171, in _q_traverse
    return super()._q_traverse(path)
  File "quixote/directory.py", line 88, in _q_traverse
    return obj._q_traverse(path)
  File "quixote/directory.py", line 92, in _q_traverse
    return obj()
  File "wcs/backoffice/management.py", line 2107, in _q_index
    limit = misc.get_int_or_400(
  File "wcs/qommon/misc.py", line 1037, in get_int_or_400
    return int(value)

Fichiers

0001-misc-fix-get_int_or_404-70644.patch (1,41 ko) 0001-misc-fix-get_int_or_404-70644.patch Lauréline Guérin, 01 novembre 2022 11:42

Révisions associées

Révision 2a5c84ef (diff)
Ajouté par Lauréline Guérin il y a plus d'un an

misc: fix get_int_or_404 (#70644)

Historique

#1

Mis à jour par Lauréline Guérin il y a plus d'un an

  • Projet changé de Suivi des traces à w.c.s.
  • Sujet changé de TypeError: int() argument must be a string, a bytes-like object or a number, not 'list' à get_int_or_400 avec une liste (TypeError: int() argument must be a string, a bytes-like object or a number, not 'list')
#2

Mis à jour par Lauréline Guérin il y a plus d'un an

#3

Mis à jour par Thomas Noël il y a plus d'un an

  • Statut changé de Solution proposée à Solution validée
#5

Mis à jour par Lauréline Guérin il y a plus d'un an

  • Statut changé de Solution validée à Résolu (à déployer)
commit 2a5c84ef3ffd0fb7501259df43e9accd72a70eaa
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Tue Nov 1 11:41:21 2022 +0100

    misc: fix get_int_or_404 (#70644)
#6

Mis à jour par Transition automatique il y a plus d'un an

  • Statut changé de Résolu (à déployer) à Solution déployée
#7

Mis à jour par Transition automatique il y a plus d'un an

Automatic expiration

Formats disponibles : Atom PDF