[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Spurious audit trail entries from unchanged multitext field
From: |
Yngve Svendsen |
Subject: |
Re: Spurious audit trail entries from unchanged multitext field |
Date: |
26 Jun 2003 13:55:59 +0200 |
On Thu, 2003-06-26 at 13:27, Robert Inder wrote:
> I've also put this in the GNATS database at bugs.gnu.org...
> I'm nto sure whether that is "belt and braces" or pointless
> repetition...
>
> I have configured a multitext field to be audit trailed, and I
> am getting spurious audit trail entries when I use gnatsweb.
>
> field "Contact" {
> description "What did we last talk about"
> multitext {
> default ""
> }
> on-change {
> add-audit-trail
> }
> }
>
> Simply editing the PR, then submitting the form unchanged
> adds an audit trail entry.
>
> Browser is Mozilla on FreeBSD. Gnats and Gnatsweb are also running
> on FreeBSD.
>
> My bet is that the problem is caused by the way white space
> is being handled: something (the browser) is padding a
> short string up to the size of the HTML textarea, and this
> is not being stripped.
>
> This is going to be causing me minor grief on a daily basis.
>
> I could flounder around and try to fix it However, I notice that
> gnatsweb.pl is already doing some re-formatting to multitext fields,
> but since I don't know exactly why, I could well break something.
>
> So I suspect someone who knew what was going on in there could
> probably do it a lot faster than me...
Thanks for reporting this. Actually, the problem was fixed after the
beta 4 release of Gnatsweb 4.0. You should be able to get a corrected
version of Gnatsweb by following the CVS checkout instructions on
http://www.gnu.org/software/gnats
Hope this helps,
--
Yngve Svendsen
Gnatsweb maintainer