GNU bug report logs - #32941
get_bug_log SOAP operation truncates message

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: debbugs.gnu.org; Severity: wishlist; Reported by: Arun Isaac <arunisaac@HIDDEN>; Forwarded to https://bugs.debian.org/910360; Maintainer for debbugs.gnu.org is help-debbugs@HIDDEN.

Message received at 32941 <at> debbugs.gnu.org:


Received: (at 32941) by debbugs.gnu.org; 8 Oct 2018 09:12:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 08 05:12:41 2018
Received: from localhost ([127.0.0.1]:39892 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1g9Raj-0002sc-MI
	for submit <at> debbugs.gnu.org; Mon, 08 Oct 2018 05:12:41 -0400
Received: from mout.gmx.net ([212.227.15.18]:32963)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael.albinus@HIDDEN>) id 1g9Rah-0002sP-Oh
 for 32941 <at> debbugs.gnu.org; Mon, 08 Oct 2018 05:12:40 -0400
Received: from detlef.gmx.de ([212.86.42.138]) by mail.gmx.com (mrgmx001
 [212.227.17.190]) with ESMTPSA (Nemesis) id 0Lt2BW-1fgWf83ybS-012XXc; Mon, 08
 Oct 2018 11:12:29 +0200
Received: from detlef.gmx.de ([212.86.42.138]) by mail.gmx.com (mrgmx001
 [212.227.17.190]) with ESMTPSA (Nemesis) id 0Lt2BW-1fgWf83ybS-012XXc; Mon, 08
 Oct 2018 11:12:29 +0200
From: Michael Albinus <michael.albinus@HIDDEN>
To: Arun Isaac <arunisaac@HIDDEN>
Subject: Re: bug#32941: get_bug_log SOAP operation truncates message
References: <cu78t3cnah9.fsf@HIDDEN> <87sh1kr8f9.fsf@HIDDEN>
Date: Mon, 08 Oct 2018 11:12:27 +0200
In-Reply-To: <87sh1kr8f9.fsf@HIDDEN> (Michael Albinus's message of "Fri, 05
 Oct 2018 12:31:54 +0200")
Message-ID: <87r2h07qf8.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:QTLG9oelKmLIX1CRJof0gjWTwUZw2XO0IR/MAwdAYaoDm9qt5lV
 g+lbBQWjpeAi4zBN4VXZ3U+/bmCZDTlqc9k6BsfaE4PliGTk8yj89mI7XzZWtF7qCZvGCsN
 DRBLqlGdHUdvTtDckY7QI5yH2rrwkTckpJYxhrioxDGWjzhMaCCqMttl2zNxOi4vfk+MfTP
 0REcCjOi/NOuNvK15TfEA==
X-UI-Out-Filterresults: notjunk:1;V01:K0:nD80slRhj/U=:QFblns5efKm2oyJ310R9x9
 C1zoMN9X7tVW1rvfW9EwjLO06b5+S/jk2AgtcSrTDLPuG11PXaXKjr5uFTQUUkW4/eVx0rq+K
 M8jnqCeF3+zWtXqpmRmo8egvdqiI0DWtzxALEaQarXegs0zLZZYCkA6xGbk1XoDgfqG7KezBH
 OYKjS5gfpIfHxvV35V0vHj1njFiWc6KH9KrdnL33y+mUlwH5p9b+GQBYxB+cWjwZ7bcLzpzB3
 djtT2ErNFZIJpTBN7gIkiyFlcZoZBuid7WaPUU6dRPUrjI3dh5KT6VIckX7Y7fJkEdszK9Ddc
 GN86TugnkXT837x6uzoJ8h0eo3Ck9IkW+n+FSI3Zgoe889+iNAP2VG4fAHM5veANoLR8Ls2mw
 9CH8B3ZaK6WpRV1eVu+ks4rWqQadTTHs/N/XvDi0SGOH7/ai1aL+BbdA1zIPcDFTpznNvyWT0
 MvOKIaGxBhJSJ71VRgpsPzSG4R4fD57+zaGr4a9QaOMtkJxzoMZaagpEJ5UD+cP4u5odqHciG
 tiLoWuh8msBTdI0FsXvu0gODmbttjIFpASoitJZkebg6r5q3uLiysGKXC0HPxJwEelDvRQdTn
 PxxbJGs8bOFfEMubgzzy7YLMevzJQQVO1kSjwD/Nxn7AH+qoponQZhf28sGtYxCn5z1HuXxfz
 iLe9heUECBaby5pGdJr2q9QGGa2oJ/cTGt6ajfxmncMUfWgc8lciL2jCKFJshMLtVgoeABzj1
 CUAqapFcNQ8Rzn9vkEpxDinCuqfL5OYiGGE2UTe7cBZF2m/JYgCv4KsziEGfxZRlyU5UsxL/g
 dgWMf63KXgk5c3UkcKI3tINkVt4kBBwbtTQY4j/ZC7Wp7TAhAo=
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 32941
Cc: 32941 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Michael Albinus <michael.albinus@HIDDEN> writes:

> Due to this wrong Content-Type: header, my Debbugs/SOAP client
> (debbugs.el from GNU Emacs) refuses to work for get_bug_log(25235).

This does not seem to be a bug in the debbugs server; it is rather a
problem in the soap-client.el package of Emacs. I've submitted bug#32983
for this.

Best regards, Michael.




Information forwarded to help-debbugs@HIDDEN:
bug#32941; Package debbugs.gnu.org. Full text available.
Severity set to 'wishlist' from 'normal' Request was from Michael Albinus <michael.albinus@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 32941 <at> debbugs.gnu.org:


Received: (at 32941) by debbugs.gnu.org; 7 Oct 2018 11:47:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 07 07:47:10 2018
Received: from localhost ([127.0.0.1]:39094 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1g97Wf-0007G6-Uq
	for submit <at> debbugs.gnu.org; Sun, 07 Oct 2018 07:47:10 -0400
Received: from mout.gmx.net ([212.227.15.19]:52167)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael.albinus@HIDDEN>) id 1g97Wc-0007FT-CB
 for 32941 <at> debbugs.gnu.org; Sun, 07 Oct 2018 07:47:06 -0400
Received: from detlef.gmx.de ([79.140.122.86]) by mail.gmx.com (mrgmx002
 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MS5Dm-1gGAo11cSI-00TA55; Sun, 07
 Oct 2018 13:46:55 +0200
Received: from detlef.gmx.de ([79.140.122.86]) by mail.gmx.com (mrgmx002
 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MS5Dm-1gGAo11cSI-00TA55; Sun, 07
 Oct 2018 13:46:55 +0200
From: Michael Albinus <michael.albinus@HIDDEN>
To: Arun Isaac <arunisaac@HIDDEN>
Subject: Re: bug#32941: get_bug_log SOAP operation truncates message
References: <cu78t3cnah9.fsf@HIDDEN> <87sh1kr8f9.fsf@HIDDEN>
Date: Sun, 07 Oct 2018 13:46:53 +0200
In-Reply-To: <87sh1kr8f9.fsf@HIDDEN> (Michael Albinus's message of "Fri, 05
 Oct 2018 12:31:54 +0200")
Message-ID: <878t3arnbm.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:IYBR+bOSWVgS4wubaYbqZtZbLnLtTXinHj/92ti8yvt/mHbOjQf
 Bd3l3/x2APCllDzLOEAfYr3niyXds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dR+/2E0OykBWWlaCRY=
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 32941
Cc: 32941 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Michael Albinus <michael.albinus@HIDDEN> writes:

Hi Arun,

> I suppose that the current behaviour is due to the fact, that there were
> plans to return the other MIME parts as 'attachments'. This is not
> implemented (yet), see the code of Debbugs::SOAP::get_bug_log.

Don Armstrong, the maintainer of the Debian debbugs package, has
confirmed this, see
<https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=910360#15>. He
changed the severity to 'wishlist', so do I.

Best regards, Michael.




Information forwarded to help-debbugs@HIDDEN:
bug#32941; Package debbugs.gnu.org. Full text available.
Changed bug forwarded-to-address to 'https://bugs.debian.org/910360' from 'https://debbugs.gnu.org/32941' Request was from Michael Albinus <michael.albinus@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Set bug forwarded-to-address to 'https://debbugs.gnu.org/32941'. Request was from Michael Albinus <michael.albinus@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 32941 <at> debbugs.gnu.org:


Received: (at 32941) by debbugs.gnu.org; 5 Oct 2018 10:32:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 05 06:32:08 2018
Received: from localhost ([127.0.0.1]:37427 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1g8NOy-0006ZW-Er
	for submit <at> debbugs.gnu.org; Fri, 05 Oct 2018 06:32:08 -0400
Received: from mout.gmx.net ([212.227.17.20]:35159)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael.albinus@HIDDEN>) id 1g8NOw-0006Z1-GK
 for 32941 <at> debbugs.gnu.org; Fri, 05 Oct 2018 06:32:07 -0400
Received: from detlef.gmx.de ([212.86.60.168]) by mail.gmx.com (mrgmx101
 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Ld4xA-1fQTwR3iXA-00iAtj; Fri, 05
 Oct 2018 12:31:56 +0200
Received: from detlef.gmx.de ([212.86.60.168]) by mail.gmx.com (mrgmx101
 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Ld4xA-1fQTwR3iXA-00iAtj; Fri, 05
 Oct 2018 12:31:56 +0200
From: Michael Albinus <michael.albinus@HIDDEN>
To: Arun Isaac <arunisaac@HIDDEN>
Subject: Re: bug#32941: get_bug_log SOAP operation truncates message
References: <cu78t3cnah9.fsf@HIDDEN>
Date: Fri, 05 Oct 2018 12:31:54 +0200
Message-ID: <87sh1kr8f9.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:S4DX6hid+97IHLwOJZucCorbFSw8x4aSGRfN+OfG4wl4d4jChRV
 dOGhMhoOLjZu8jMVJSCE2J0HRSFjmZk/J8LTS0Vq+2hs4cWUTpBqK8HmjuipxIx4BmPKxWt
 a7wxtQrORhEDjHDqQnscKHNfhrRVUqM1gKLwqw0K/oMsf9GYvBBKmxkUCVmXHA9Zr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-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Arun Isaac <arunisaac@HIDDEN> writes:

Hi Arun,

> The get_bug_log operation of the SOAP API truncates some messages. For
> example, look at the 4th message (indexing from 0) in bug 25235. In the
> web interface, https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25235#17 ,
> one can see that the message has 2 parts, but the get_bug_log SOAP
> operation only returns the first part.

I can confirm this. Debugging the Debbugs/SOAP software, it looks like
the Perl function Debbugs::MIME::getmailbody is responsible. In case of
multipart messages, it contains the following code:

--8<---------------cut here---------------start------------->8---
	# For other multipart types, we just pretend they're
	# multipart/mixed and run through in order.
	for my $part ($entity->parts) {
	    my $ret = getmailbody($part);
	    return $ret if $ret;
--8<---------------cut here---------------end--------------->8---

That is, the first non-empty message part is returned. That seems to be
not sufficient.

Debbugs::MIME::getmailbody is called in function Debbugs::MIME::parse,
which uses MIME::Parser internally. Interestingly, it has also fallback
code in case MIME::Parser fails to work. If I disable MIME::Parser
there, forcing the run the fallback code, the result looks as it should,
including all MIME parts. In fact, the 'body' part is just the email
body.

I suppose that the current behaviour is due to the fact, that there were
plans to return the other MIME parts as 'attachments'. This is not
implemented (yet), see the code of Debbugs::SOAP::get_bug_log.

Displaying the bug messages via the web server, does not use this
function. Therefore, all attachments are visible.

Calling get_bug_log(25235) via Debbugs/SOAP exposes also another
error. It returns the HTTP header lines

--8<---------------cut here---------------start------------->8---
HTTP/1.1 200 OK
Date: Fri, 05 Oct 2018 09:29:12 GMT
Server: Apache
SOAPServer: SOAP::Lite/Perl/1.11
Strict-Transport-Security: max-age=63072000
Content-Length: 47549
X-Content-Type-Options: nosniff
X-Frame-Options: sameorigin
X-XSS-Protection: 1; mode=block
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: multipart/related; type="text/xml"; start="<main_envelope>"; boundary="=-=-="
--8<---------------cut here---------------end--------------->8---

The Content-Type: line is wrong, it should be just

--8<---------------cut here---------------start------------->8---
Content-Type: text/xml; charset=utf-8
--8<---------------cut here---------------end--------------->8---

Due to this wrong Content-Type: header, my Debbugs/SOAP client
(debbugs.el from GNU Emacs) refuses to work for get_bug_log(25235).

I've reported this to the Debian folks as
<https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=910360>.

Best regards, Michael.




Information forwarded to help-debbugs@HIDDEN:
bug#32941; Package debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 5 Oct 2018 07:01:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 05 03:01:23 2018
Received: from localhost ([127.0.0.1]:37358 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1g8K70-000123-O6
	for submit <at> debbugs.gnu.org; Fri, 05 Oct 2018 03:01:22 -0400
Received: from vultr.systemreboot.net ([45.77.148.100]:47788)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <arunisaac@HIDDEN>) id 1g8K6y-00011t-3e
 for submit <at> debbugs.gnu.org; Fri, 05 Oct 2018 03:01:20 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
 d=systemreboot.net; s=default; h=Content-Type:MIME-Version:Message-ID:Date:
 Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=ooD6W9C5jpnGfBQS2eZGv2VgGrujI5P8V8PzYXjbMLc=; b=KTqoQZe5v+BZW6FFUSbEOdpuV4
 s9zpTU2HlZPUmfyALTd4e3EZPr6U+fcpmOGRN0GtXbcZG4+8KqEh4Jr+nfO732JOre5m4ovaDc/qV
 vC6BzbUtE8YPGgeTflMR+zWI17I70EYNtnTKwnJi4J3nG1OWh2T+IeJ7GECAMbehbvH4=;
Received: from [14.139.128.15] (helo=steel)
 by systemreboot.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
 (Exim 4.91) (envelope-from <arunisaac@HIDDEN>)
 id 1g8K6u-0007xW-Jk
 for submit <at> debbugs.gnu.org; Fri, 05 Oct 2018 12:31:17 +0530
From: Arun Isaac <arunisaac@HIDDEN>
To: submit <at> debbugs.gnu.org
Subject: get_bug_log SOAP operation truncates message
Date: Fri, 05 Oct 2018 12:31:06 +0530
Message-ID: <cu78t3cnah9.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Package: debbugs.gnu.org

The get_bug_log operation of the SOAP API truncates some messages. For
example, look at the 4th message (indexing from 0) in bug 25235. In the
web interface, https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25235#17 ,
one can see that the message has 2 parts, but the get_bug_log SOAP
operation only returns the first part. The request XML I sent is as
follows.

<soap:Envelope 
    xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" 
    xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" 
    xmlns:xsd="http://www.w3.org/1999/XMLSchema" 
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    soapenc:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
  <soap:Body>
    <ns1:get_bug_log
	xmlns:ns1="urn:Debbugs/SOAP"
	soapenc:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
      <ns1:bugnumber xsi:type="xsd:int">25235</ns1:bugnumber>
    </ns1:get_bug_log>
  </soap:Body>
</soap:Envelope>




Acknowledgement sent to Arun Isaac <arunisaac@HIDDEN>:
New bug report received and forwarded. Copy sent to help-debbugs@HIDDEN. Full text available.
Report forwarded to help-debbugs@HIDDEN:
bug#32941; Package debbugs.gnu.org. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 8 Oct 2018 09:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.