Project

General

Profile

Bug #8250

erreur sur "backoffice_info_text" dans workflow-options

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

Ce n'est plus officiellement pris en charge, mais bon…

  File "/usr/lib/python2.7/dist-packages/wcs/workflows.py", line 1250, in add_parameters_widgets
  1248             form.add(WysiwygTextWidget, 'backoffice_info_text',
  1249                      title=_('Information Text for Backoffice'),
> 1250                      value=self.backoffice_info_text)
  1251
  1252     def get_parameters(self):

  locals:
     formdef = <FormDef 'Cr\xc3\xa8che : confirmation de naissance' id:242>
     prefix = '9*2*'
     form = <qommon.form.Form object at 0x4733d90>
     parameters = ['backoffice_info_text']
     self = <wcs.workflows.ChoiceWorkflowStatusItem object at 0x5079750>

  File "/usr/lib/python2.7/dist-packages/wcs/admin/forms.py", line 1411, in workflow_options
  1409                 label = getattr(item, str('label'), None) or _(item.description)
  1410                 form.widgets.append(HtmlWidget('<h4>%s</h4>' % label))
> 1411                 item.add_parameters_widgets(form, parameters, prefix=prefix, formdef=self.formdef)
  1412         form.add_submit('submit', _('Submit'))
  1413         form.add_submit('cancel', _('Cancel'))

Files

Associated revisions

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

workflows: correctly add prefix to backoffice_info_text widgets (#8250)

History

#2

Updated by Thomas Noël about 7 years ago

Ack

(je viens de comprendre que c'était pour le crash « form already has 'backoffice_info_text' widget' »)

#3

Updated by Thomas Noël about 7 years ago

  • Target version set to v1.13.5
#4

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 34b0f215246af0a6800ec63a2e2750a0c74f4bda
Author: Frédéric Péters <fpeters@entrouvert.com>
Date:   Fri Sep 11 19:17:12 2015 +0200

    workflows: correctly add prefix to backoffice_info_text widgets (#8250)
#5

Updated by Thomas Noël about 7 years ago

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

Also available in: Atom PDF