Project

General

Profile

Actions

Bug #13581

closed

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

Added by Frédéric Péters over 9 years ago. Updated about 9 years ago.

Status:
Fermé
Priority:
Normal
Assignee:
-
Target version:
Start date:
13 October 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 1 (0 open1 closed)

Related to w.c.s. - Bug #13870: panne sur liste à choix multiples : toujours à NoneFerméThomas Noël04 November 2016

Actions
Actions #2

Updated by Thomas Noël over 9 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)

Actions #3

Updated by Frédéric Péters over 9 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)
Actions #4

Updated by Thomas Noël over 9 years ago

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

Updated by Frédéric Péters about 9 years ago

  • Target version set to v1.62
Actions #6

Updated by Frédéric Péters about 9 years ago

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

Also available in: Atom PDF