[request-tracker-maintainers] Bug#442398: RT has non-functional link in user front page

Niko Tyni ntyni at iki.fi
Thu Sep 20 19:04:34 UTC 2007


tag 442398 etch
thanks

On Thu, Sep 20, 2007 at 08:54:46AM +0300, Niko Tyni wrote:

> - the bug shows up when $RT::WebPath is changed after the database
>   has been initialized. At initialization time, the variable is
>   interpolated correctly.
> 
> - the suggested 'rt-setup-database --action insert' is not an optimal
>   fix for existing databases: it will duplicate the database content
> 
> - the database contents are serialized by Storable, so the upgrade script
>   must be done by using the RT API and not by modifying the database
>   directly. This would probably have been a good idea in any case.
> 
> I'll look into the upgrade script.

I'm attaching a Perl script that fixes the wrong attribute content in
an existing database. This should help Etch users suffering from the bug.

I'll include a variant of this in the postinst script for the next upload
to unstable.

Ivan: I'm quite sceptical about getting this fixed in Etch. The impact is
quite low, and the bug doesn't affect all users. Furthermore, a proper
fix with something like this script run on upgrade would be quite a
complex and error-prone change for stable.

Do you think we should try to get just a fixed initialdata file into Etch?

Cheers,
--
Niko Tyni   ntyni at iki.fi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-webpath.pl
Type: text/x-perl
Size: 989 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-request-tracker-maintainers/attachments/20070920/a37b576d/attachment.pl 


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