bug-gnats
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Spurious audit trail entries from unchanged multitext field


From: Robert Inder
Subject: Spurious audit trail entries from unchanged multitext field
Date: 26 Jun 2003 12:27:50 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

   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...

Robert.

--
Robert Inder         Interactive Information,     07770 30 40 52 (general)
07808 492 213        3, Lauriston Gardens,        0131 229 1052  (fax)
                     Edinburgh EH3 9HH
                     SCOTLAND UK





reply via email to

[Prev in Thread] Current Thread [Next in Thread]