Project

General

Profile

Développement #80401

testdef, erreur sur l'enregistrement en cas de valeur Decimal

Added by Valentin Deniaud over 1 year ago. Updated over 1 year ago.

Status:
Fermé
Priority:
Normal
Target version:
-
Start date:
16 August 2023
Due date:
% Done:

0%

Estimated time:
Patch proposed:
No
Planning:
No

Description

Cette trace aperçue à Nanterre :

Exception:
  type = '<class 'TypeError'>', value = 'Object of type Decimal is not JSON serializable'

Stack trace (most recent call first):
  File "/usr/lib/python3.9/json/encoder.py", line 179, in default
   177 
   178         """ 
>  179         raise TypeError(f'Object of type {o.__class__.__name__} '
   180                         f'is not JSON serializable')
   181 

  locals: 
     o = Decimal('1.3')
     self = <json.encoder.JSONEncoder object at 0x7f63ae133e80>

Associated revisions

Revision 38f6285a (diff)
Added by Valentin Deniaud over 1 year ago

testdef: exclude computed fields value from test data (#80401)

History

#1

Updated by Robot Gitea over 1 year ago

  • Status changed from Nouveau to En cours

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

#2

Updated by Robot Gitea over 1 year ago

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

Updated by Robot Gitea over 1 year ago

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

Paul Marillonnet (pmarillonnet) a approuvé une pull request sur Gitea concernant cette demande :

#4

Updated by Robot Gitea over 1 year 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 :

#5

Updated by Transition automatique over 1 year ago

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

Updated by Transition automatique about 1 year ago

Automatic expiration

Also available in: Atom PDF