[DRE-maint] Bug#705466: libactionpack-ruby1.8: form_options_helper.rb method add_options do not render option_tags correct

Hubert Krause hubert.krause at inform-software.com
Mon Apr 15 11:18:18 UTC 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Package: libactionpack-ruby1.8
Version: 2.3.5-1.2+squeeze8
Severity: normal
Tags: patch

the last update of libactionpack-ruby1.8 leads to a malfunction in
redmine backport version 1.1.2-2~bpo60+1.

The problem is, that an option list rendered by add_options with an
initial empty option leads to escaped option tags. An example:

<option value=""></option>
<optgroup label="Test"><option
value="168">Example</option> <option
value="167">Example2 2013</option> <option
value="170">Example 3 2013</option> <option
value="165">Example
4</option></optgroup><optgroup
label="Text"><option
value="105">Livegang</option> <option
value="231">Test91 </option></optgroup>

The attached Patch solve this problem, but this patch introduce a
regression to the last patch. I put this patch to this bug report to
help figure out what the real problem might be. I don't know.

Best regards,

Hubert

- -- System Information:
Debian Release: 6.0.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-openvz-amd64 (SMP w/16 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libactionpack-ruby1.8 depends on:
ii  libruby1.8           1.8.7.302-2squeeze1 Libraries necessary to run
Ruby 1.

libactionpack-ruby1.8 recommends no packages.

libactionpack-ruby1.8 suggests no packages.

- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAlFr4foACgkQFUpf3meJP55EMgCcCOXogmM5H//Qk6gCpIjIRX/S
w2EAoMIwEoH2lv64tz4W025asdxkshUV
=acig
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: form-helper.patch
Type: text/x-patch
Size: 859 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20130415/7cfcd1db/attachment.bin>


More information about the Pkg-ruby-extras-maintainers mailing list