Small bug in Update.html

If you use the web interface to comment or reply to a ticket, the subject
of the message that’s sent is empty. I think this is simply due to the
fact that there isn’t any default set for the subject line field. I’ve
attached a patch to Update.html that seems to do the right thing. Jesse, is
this a bug or a feature?
Thanks,
-Matt

— /usr/local/rt2/WebRT/html/Ticket/Update.html Thu Oct 4 05:31:48 2001
+++ Update.html Fri Oct 5 07:53:48 2001
@@ -53,7 +53,7 @@
<& /Elements/SelectOwner, Name=>“Owner”, Default => $Ticket->OwnerObj->Id(), Queue => $Ticket->QueueObj &>
Worked:
minutes

-Subject:

+Subject:

Attach:

<& /Elements/MessageBox, Name=>“UpdateContent”, QuoteTransaction=>$ARGS{QuoteTransaction} &>

Actually no, it’s a bug in the templates. This was a behaviour change
in 2.0.8, to avoid needlessly recording redundant information.

Before reporting bugs, it’s useful to check out the open bug list at

http://fsck.com/rt2/NoAuth/Buglist.html

You’ll see that this issue, with a fix is fsck.com #904.On Fri, Oct 05, 2001 at 09:22:36AM -0400, Matthew D. Stock wrote:

If you use the web interface to comment or reply to a ticket, the subject
of the message that’s sent is empty. I think this is simply due to the
fact that there isn’t any default set for the subject line field. I’ve
attached a patch to Update.html that seems to do the right thing. Jesse, is
this a bug or a feature?
Thanks,
-Matt

— /usr/local/rt2/WebRT/html/Ticket/Update.html Thu Oct 4 05:31:48 2001
+++ Update.html Fri Oct 5 07:53:48 2001
@@ -53,7 +53,7 @@
<& /Elements/SelectOwner, Name=>“Owner”, Default => $Ticket->OwnerObj->Id(), Queue => $Ticket->QueueObj &>
Worked:
minutes

-Subject:

+Subject:

Attach:

<& /Elements/MessageBox, Name=>“UpdateContent”, QuoteTransaction=>$ARGS{QuoteTransaction} &>


rt-devel mailing list
rt-devel@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-devel

http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.