Comment 8 for bug 10655

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Wed, 24 Nov 2004 06:54:04 +0100
From: Christian Perrier <email address hidden>
To: Frans Pop <email address hidden>, <email address hidden>
Cc: Christian Perrier <email address hidden>,
        Denis Barbier <email address hidden>
Subject: Re: Bug#282582: Some functions in cdebconf improperly handle escaped commas

> Looking at the template, I noticed there are only 43 Choices-nl, but the
> Indices-nl runs from 1 to 46!
> Which probably means there is an easy to fix little error in the sorting script
> that also adds an entry in Indices-nl for escaped comma's.

Dammit.....I indeed *counted* myself and found no error. Looks like I
was not awaken enough. I had the very same problem with choose-mirror
and know that having different number of choices in Indices and
Choices-xx fields is Bad.

I'll look again at the sort-keymap script. Though it is a copy of the
sort-countries script in choose-mirror (which properly deals with
commas), I may have done something wrong here.

In the future, something should be done for cdebconf handling this
situation better, imho. Probably make it fail rather than silently
exit.