Project

General

Profile

Bug #89734

testdef vs champ de type nombre, bis

Added by Sentry Io about 1 month ago. Updated about 1 month ago.

Status:
Solution déployée
Priority:
Normal
Target version:
-
Start date:
18 April 2024
Due date:
% Done:

0%

Estimated time:
Patch proposed:
No
Planning:
No

Description

Il y a déjà eu #89065 mais visiblement ça n'a pas tout couvert.

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

TypeError: Object of type Decimal is not JSON serializable
(21 additional frame(s) were not displayed)
...
  File "psycopg2/_json.py", line 72, in dumps
    return self._dumps(obj)
  File "__init__.py", line 231, in dumps
    return _default_encoder.encode(obj)
  File "json/encoder.py", line 200, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "json/encoder.py", line 258, in iterencode
    return _iterencode(o, 0)
  File "json/encoder.py", line 180, in default
    raise TypeError(f'Object of type {o.__class__.__name__} '

Associated revisions

Revision d6771b28 (diff)
Added by Valentin Deniaud about 1 month ago

admin: allow numeric field inside block during test edit (#89734)

History

#1

Updated by Valentin Deniaud about 1 month ago

  • Project changed from Suivi des traces to w.c.s.
  • Subject changed from TypeError: Object of type Decimal is not JSON serializable to testdef vs champ de type nombre, bis
  • Description updated (diff)
  • Assignee set to Valentin Deniaud
#2

Updated by Robot Gitea about 1 month ago

  • Status changed from Nouveau to En cours

Valentin Deniaud (vdeniaud) a ouvert une pull request sur Gitea concernant cette demande :

#3

Updated by Robot Gitea about 1 month ago

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

Updated by Robot Gitea about 1 month ago

  • Status changed from Solution proposée to Solution validée

Frédéric Péters (fpeters) a approuvé une pull request sur Gitea concernant cette demande :

#5

Updated by Robot Gitea about 1 month ago

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

Valentin Deniaud (vdeniaud) a mergé une pull request sur Gitea concernant cette demande :

#6

Updated by Transition automatique about 1 month ago

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

Also available in: Atom PDF