Bug#836613: debbugs: specifying 0 (“current message”) causes ‘summary’ to attempt to parse message header

Ben Finney <[email protected]> Sun, 4 Sep 2016 23:08:15 +1000
Newsgroups gmane.linux.debian.devel.debbugs
Message-ID <20160904130815.xjm4qtzq5ckflzdz__47437.8058141612$1472994934$gmane$org@benfinney.id.au>
Package: debbugs
Severity: normal

The attached response came from ‘debbugs’ when I sent a message
<URL:https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=358195;msg=33>
that contains a command “summary -1 0”.

According to the documentation for that command:

    The first non-pseudoheader/non-control paragraph of that message
    is parsed and set as the outlook of the bug which is displayed on
    the top of the bug report page.

    […] if a message number of 0 is given, the current message is used
    (that is, the message which was sent to [email protected]
    which contains the outlook control command).

    <URL:https://www.debian.org/Bugs/server-control#summary>

I understand the documentation to imply that the referenced message
should have worked: It contained a <message number> value of “0”, and
the “first non-pseudoheader/non-control paragraph of that message” was
the summary text required.

The ‘debbugs’ server has evidently retrieved a completely different
text, some “Received” field from the message header. This fails to
meet the behaviour described in the documentation.

-- 
 \          “Jury: A group of 12 people, who, having lied to the judge |
  `\       about their health, hearing, and business engagements, have |
_o__)                           failed to fool him.” —Henry L. Mencken |
Ben Finney <[email protected]>
(unnamed) (message/rfc822, 3.2 KB) - not displayed
signature.asc (application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJXzBy/AAoJEA6lrG9l0fH3R+AQAKqQI3Xbeyc0j1MKzhZ3bdv4
oj0cJlTmFK1KzjNb8NSjWqkr8PeSE98b/pppnb+O+XhMC3CgRpws97jHiFN2pR6z
XCCIYxZ32PXXAUd4lDeIjK/lrx2/AuxX7PpNHOM51A0Ff8aKpk/lLZPiNH0rg1EJ
iHA4C30OvaaRS6JFfUoGIXqXXpB3+/9AqibYoT2DGPUwxyzkaQSkr7rtlE8csg87
hVrDb/Y/URSsivmvE19wk02MSwgIrrfvHElEhCdMBHQ4ZSN6IuGI3VBMCCv2stV2
lPw3ttwuXvNQaIYYBitlW+C4iVTiG6lPYkuPMUcczZ4+dPRjm8dfkNRKguWsGrny
yaH25RGOhhQr0YDO0AdvElPUeXNzpFBpYN4LXvqO9Dmse/CzRsS12LSv5q2Smo4J
Bm3dditaYj3fKrpCzrdjrfFqsOsJOb2KIYtwusj3jICF0m4nCYOCmxMHwCSvtCck
aW6M00F7n1WhZJXjzIScfjuBAGYMDDEYzlIg5ApUn1ynEhd12P/yoCgaVSTwKJS+
hXWZGCboLfJw7cWp/IM5DzOvA1Rofxinn/LNFViorjmXiyiPbpv4cVXNSuQET15h
HYhciHqm9hnZHUIGUWtPjzf68jhBnkjOppD0OTDmmu+vmNaaOvzvNtx5Ipnf3NMS
Uw3yvGnTN9VW7XJQ1yQr
=gJJG
-----END PGP SIGNATURE-----