Projet

Général

Profil

Bug #10632

journal : pièce jointe vs error webservice

Ajouté par Frédéric Péters il y a environ 8 ans. Mis à jour il y a environ 8 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
Début:
12 avril 2016
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:

Description


Exception:
  type = '<type 'exceptions.AttributeError'>', value = 'JournalWsCallErrorPart instance has no attribute 'varname''

Stack trace (most recent call first):
  File "/usr/lib/python2.7/dist-packages/wcs/workflows.py", line 155, in __getattr__
   153         for evo in self.formdata.evolution or []:
   154             for part in evo.parts or []:
>  155                 if part.varname == name:
   156                     return NamedAttachmentsSubstitutionProxy(self.formdata, name)
   157         raise AttributeError(name)

  locals:
     self = <wcs.workflows.AttachmentsSubstitutionProxy object at 0x38a2990>
     part = <wcs.wf.wscall.JournalWsCallErrorPart instance at 0x38b1a70>
     name = 'courrierreponse'
     evo = <wcs.formdata.Evolution object at 0x38c16d0>

  File "<string>", line 1, in <module>

Fichiers


Demandes liées

Dupliqué par w.c.s. - Bug #10634: crash sur utilisation de attachments.xxxRejeté12 avril 2016

Actions

Révisions associées

Révision cc9422d2 (diff)
Ajouté par Frédéric Péters il y a environ 8 ans

workflows: don't fail attachment lookup when the log has extra parts (#10632)

Historique

#1

Mis à jour par Frédéric Péters il y a environ 8 ans

#2

Mis à jour par Benjamin Dauvergne il y a environ 8 ans

  • Dupliqué par Bug #10634: crash sur utilisation de attachments.xxx ajouté
#3

Mis à jour par Thomas Noël il y a environ 8 ans

le getattr va raiser, non ?

#4

Mis à jour par Frédéric Péters il y a environ 8 ans

oui, j'ai oublié le troisième paramètre :/

#6

Mis à jour par Thomas Noël il y a environ 8 ans

Ack

#7

Mis à jour par Frédéric Péters il y a environ 8 ans

  • Statut changé de En cours à Résolu (à déployer)
commit cc9422d26c9e3b0f809c6e109506571f70df23a3
Author: Frédéric Péters <fpeters@entrouvert.com>
Date:   Tue Apr 12 18:20:19 2016 +0200

    workflows: don't fail attachment lookup when the log has extra parts (#10632)
#8

Mis à jour par Thomas Noël il y a environ 8 ans

  • Version cible mis à v1.40
#9

Mis à jour par Frédéric Péters il y a environ 8 ans

  • Statut changé de Résolu (à déployer) à Fermé

Formats disponibles : Atom PDF