Project

General

Profile

Bug #8241

backoffice: texte d'aide de workflow sur bouton manquant (action "commentaire")

Added by Frédéric Péters (de retour le 10/10) about 7 years ago. Updated about 7 years ago.

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

0%

Estimated time:
Patch proposed:
Yes
Planning:

Description

Exception:
  type = '<type 'exceptions.AttributeError'>', value = ''NoneType' object has no attribute 'backoffice_info_text''

Stack trace (most recent call first):
  File "/usr/lib/python2.7/dist-packages/wcs/workflows.py", line 1121, in fill_form
  1119             elif self.button_label:
  1120                 form.add_submit('button%s' % self.id, self.button_label)
> 1121             form.get_widget('button%s' % self.id).backoffice_info_text = self.backoffice_info_text
  1122
  1123     def submit_form(self, form, formdata, user, evo):

  locals:
     self = <wcs.workflows.CommentableWorkflowStatusItem object at 0x3de1490>
     formdata = <Demande-De-Subvention-Culture id:5>
     user = <SqlUser 'Administrator Admin' id:197>
     form = <wcs.qommon.form.Form object at 0x3de12d0>
     title = 'Commentaire'

Files

Associated revisions

Revision f364765d (diff)
Added by Frédéric Péters (de retour le 10/10) about 7 years ago

workflows: don't fail on "commentable" action not having a button (#8241)

History

#2

Updated by Thomas Noël about 7 years ago

Ack, bien sûr

#3

Updated by Frédéric Péters (de retour le 10/10) about 7 years ago

  • Status changed from En cours to Résolu (à déployer)
commit f364765deb04bc4d5de28e85ce522c60c11825b2
Author: Frédéric Péters <fpeters@entrouvert.com>
Date:   Fri Sep 11 11:37:37 2015 +0200

    workflows: don't fail on "commentable" action not having a button (#8241)
#4

Updated by Thomas Noël about 7 years ago

  • Target version set to v1.13.5
#5

Updated by Thomas Noël about 7 years ago

  • Status changed from Résolu (à déployer) to Fermé

Also available in: Atom PDF