From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3003 invoked from network); 12 Aug 2004 17:27:22 -0000 Received: from unknown (HELO lists.gnu.org) (199.232.76.165) by sourceware.org with SMTP; 12 Aug 2004 17:27:22 -0000 Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BvJQD-0003fo-3e for listarch-gnats-devel@sources.redhat.com; Thu, 12 Aug 2004 13:31:25 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BvJQ7-0003fG-JX for help-gnats@gnu.org; Thu, 12 Aug 2004 13:31:19 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BvJQ6-0003es-Fk for help-gnats@gnu.org; Thu, 12 Aug 2004 13:31:19 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BvJQ6-0003eb-9O for help-gnats@gnu.org; Thu, 12 Aug 2004 13:31:18 -0400 Received: from [66.60.176.161] (helo=sierralogic.com) by monty-python.gnu.org with smtp (Exim 4.34) id 1BvJLk-00034K-Oj for help-gnats@gnu.org; Thu, 12 Aug 2004 13:26:49 -0400 Received: (qmail 26148 invoked from network); 12 Aug 2004 17:25:56 -0000 Received: from unknown (HELO wizard) (192.168.174.221) by 0 with SMTP; 12 Aug 2004 17:25:56 -0000 From: "Stuart Stevens" To: "'Stuart Stevens'" , Date: Fri, 13 Aug 2004 03:05:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: Thread-Index: AcR6CrErNVcw4hiwQzeH3Uk4c6zz7QAD80dAAB7/+EABfpYeIA== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Message-Id: Cc: Subject: RE: Unparseable replies from GNATS server X-BeenThere: help-gnats@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion about GNU GNATS List-Archive: List-Post: List-Help: List-Subscribe: , Sender: help-gnats-bounces+listarch-gnats-devel=sources.redhat.com@gnu.org Errors-To: help-gnats-bounces+listarch-gnats-devel=sources.redhat.com@gnu.org X-SW-Source: 2004-q3/txt/msg00033.txt.bz2 Hi Does anybody have a recommendation on how to add an append-only comments field? I would like edits to allow new additions to the field and views to show the whole field. Stuart -----Original Message----- From: Stuart Stevens [mailto:stuart_stevens@sierralogic.com] Sent: Wednesday, August 04, 2004 7:49 PM To: 'Stuart Stevens'; help-gnats@gnu.org Subject: RE: Unparseable replies from GNATS server In edit.c, set_field is being called with old_value set to 0x00. if ((old_value == NULL && new_value != NULL) || (new_value == NULL && old_value != NULL) || (new_value != old_value && strcmp (old_value, new_value) != 0)) { /* Ignore changes to readonly fields. */ if (fieldDefForIndex (field)->readonly) { fieldsChanged[x] = 0; set_field (new_pr, field, old_value, err); } else { fieldsChanged[x] = 1; } } -----Original Message----- From: Stuart Stevens [mailto:stuart_stevens@sierralogic.com] Sent: Wednesday, August 04, 2004 5:08 AM To: 'Stuart Stevens'; help-gnats@gnu.org Subject: RE: Unparseable replies from GNATS server I am running GNATS 4.0 on Linux - Red Hat 9. I pulled the TOT and rebuilt this morning. I then run the daemon directly and I got a memory fault. The daemon fails with the following field "Comment-new" added to dbconfig: field "Comments" { multitext read-only } field "Comment-new" { multitext on-change { append-to-field "Comments" { "Comment added by %s on %D\n\n%s" "$EditUserEmailAddress" "$CurrentDate" "$NewValue" } } on-change { set-field "Comment-new" { "" } } } I issued the following commands: lock 2511 stuart editaddr stuart edit 2511 Next step is to get into the debugger. Any ideas? Thanks Stuart _______________________________________________ Help-gnats mailing list Help-gnats@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnats