Project

General

Profile

Bug #13581

champ cases à cocher avec des libellés contenant des guillemets

Added by Frédéric Péters (absent jusqu’au 12/12) about 5 years ago. Updated about 5 years ago.

Status:
Fermé
Priority:
Normal
Assignee:
-
Target version:
Start date:
13 Oct 2016
Due date:
% Done:

0%

Estimated time:
Patch proposed:
Yes
Planning:

Description

On se trouve acec le libellé du champ pris comme name, et il y a un truc qui coince derrière.

<input name="f14$elementService public – &quot;Etre un vrai service public local&quot;" max_choices="0" value="yes" inline="False" id="form_f14$elementService public – &quot;Etre un vrai service public local&quot;" type="checkbox">

Files


Related issues

Related to w.c.s. - Bug #13870: panne sur liste à choix multiples : toujours à NoneFermé04 Nov 2016

Actions

Associated revisions

Revision aeab44dc (diff)
Added by Frédéric Péters (absent jusqu’au 12/12) about 5 years ago

misc: update to checkboxes widget changes (#13581)

Revision 319e5605 (diff)
Added by Frédéric Péters (absent jusqu’au 12/12) about 5 years ago

forms: don't use option labels as element names in checkboxes widget (#13581)

History

#2

Updated by Thomas Noël about 5 years ago

                key, title = option[:2]
                key = str(i)

c'est un petit peu "moche", plutôt

            ...
                title = option[1]
                if len(option) == 2:
                    key = i
                else:
                    key = option[2]

mais bon, ack (c'était juste pour prouver que j'ai vraiment relu)

#3

Updated by Frédéric Péters (absent jusqu’au 12/12) about 5 years ago

  • Status changed from En cours to Résolu (à déployer)
commit 319e5605cc14076631f4eae3bf4e1a9f5cd72463
Author: Frédéric Péters <fpeters@entrouvert.com>
Date:   Thu Oct 13 13:22:31 2016 +0200

    forms: don't use option labels as element names in checkboxes widget (#13581)
#4

Updated by Thomas Noël about 5 years ago

  • Related to Bug #13870: panne sur liste à choix multiples : toujours à None added
#5

Updated by Frédéric Péters (absent jusqu’au 12/12) about 5 years ago

  • Target version set to v1.62
#6

Updated by Frédéric Péters (absent jusqu’au 12/12) about 5 years ago

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

Also available in: Atom PDF