[request-tracker-maintainers] Bug#599333: Bug#599333: Needs reworking config script

Niko Tyni ntyni at debian.org
Tue Nov 9 19:58:56 UTC 2010


On Tue, Nov 09, 2010 at 07:06:49PM +0000, Dominic Hargreaves wrote:
 
> The config script at around 180 introduces this problem.
> This would need to be reworked in order to support empty an 
> empty webpath.
> 
> The patch along the lines of the attached (untested) should fix this
> problem.

> -        my $val = ${"RT::$var"} || "";
> +        my $val = ${"RT::$var"} || "EMPTY";

Agreed, that should work. Given that the templates say valid values
need a leading slash, there shouldn't by any chance for collision with
user configuration.

Back when I coded this, I guess I thought "/" would be the way to specify
an empty path. The submitter says that doesn't work. No idea why.

Possibly the template should be updated post-Squeeze to mention the
special case of an empty string as it's probably the second most common
way to configure the beast (after the default "/rt".)

Thanks for working on this.
-- 
Niko





More information about the pkg-request-tracker-maintainers mailing list