Project

General

Profile

Développement #95231

testdef, crash à l'affichage de l'inspect d'un résultat

Added by Valentin Deniaud 3 months ago. Updated 3 months ago.

Status:
Fermé
Priority:
Normal
Target version:
-
Start date:
11 September 2024
Due date:
% Done:

0%

Estimated time:
Patch proposed:
No
Planning:
No

Description

Exception:
  type = '<class 'KeyError'>', value = ''

Stack trace (most recent call first):
  File "/usr/lib/python3/dist-packages/wcs/sql.py", line 3153, in get
  3151             if ignore_errors:
  3152                 return None
> 3153             raise KeyError()
  3154         _, cur = get_connection_and_cursor()
  3155

  locals:
     cls = <class 'wcs.formdef._wcs_Ordre-Departemental-Des-Benevoles'>
     id = None
     ignore_errors = False
     ignore_migration = False

  File "/usr/lib/python3/dist-packages/wcs/workflows.py", line 356, in __setstate__
   354         else:
   355             obj_class = FormDef
>  356         self.formdata = obj_class.get(state.get('formdef_id')).data_class().get(state.get('formdata_id'))
   357
   358

  locals: 
     obj_class = <class 'wcs.formdef.FormDef'>
     self = <wcs.workflows.AttachmentsSubstitutionProxy object at 0x7f0928b50ad0>
     state = {'deprecated_usage': True, 'formdef_type': 'formdef', 'formdef_id': '197', 'formdata_id': None}

Associated revisions

Revision a714ce03 (diff)
Added by Valentin Deniaud 3 months ago

workflows: allow missing formdata when pickling attachment proxy (#95231)

History

#2

Updated by Valentin Deniaud 3 months ago

  • Description updated (diff)
#3

Updated by Robot Gitea 3 months ago

  • Status changed from Nouveau to En cours

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

#4

Updated by Robot Gitea 3 months ago

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

Updated by Robot Gitea 3 months 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 :

#6

Updated by Robot Gitea 3 months 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 :

#7

Updated by Transition automatique 3 months ago

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

Updated by Transition automatique 28 days ago

Automatic expiration

Also available in: Atom PDF