Projet

Général

Profil

Bug #50832

AttributeError: 'WorkflowFormFieldsFormDef' object has no attribute 'snapshot_object'

Ajouté par Sentry Io il y a environ 3 ans. Mis à jour il y a environ 3 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
-
Début:
03 février 2021
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

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

AttributeError: 'WorkflowFormFieldsFormDef' object has no attribute 'snapshot_object'
(18 additional frame(s) were not displayed)
...
  File "quixote/directory.py", line 88, in _q_traverse
    return obj._q_traverse(path)
  File "quixote/directory.py", line 88, in _q_traverse
    return obj._q_traverse(path)
  File "wcs/admin/fields.py", line 238, in _q_traverse
    return Directory._q_traverse(self, path)
  File "quixote/directory.py", line 92, in _q_traverse
    return obj()
  File "wcs/admin/fields.py", line 343, in _q_index
    get_response().filter['sidebar'] += utils.snapshot_info_block(snapshot=self.objectdef.snapshot_object)

Fichiers

Révisions associées

Révision 09b7161a (diff)
Ajouté par Lauréline Guérin il y a environ 3 ans

snapshots: do not fail on workflow form fields (#50832)

Historique

#1

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

  • Projet changé de Suivi des traces à w.c.s.

J'imagine l'erreur sur le workflow par défaut, qui est readonly sans être un snapshot,

    def is_readonly(self):
        return self.is_default() or super().is_readonly()
#2

Mis à jour par Lauréline Guérin il y a environ 3 ans

  • Assigné à mis à Lauréline Guérin
#3

Mis à jour par Lauréline Guérin il y a environ 3 ans

#5

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

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

Mis à jour par Lauréline Guérin il y a environ 3 ans

  • Statut changé de Solution validée à Résolu (à déployer)
commit 09b7161ae9f5398df2879cd06fc3f1cb05120dc1
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Thu Feb 4 10:37:09 2021 +0100

    snapshots: do not fail on workflow form fields (#50832)
#7

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

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

Formats disponibles : Atom PDF