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

Bug#910360: debbugs: get_bug_log SOAP operation truncates message



Don Armstrong <don@debian.org> writes:

Hi Don,

>> Good idea. Shall I raise a (wishlist) bug report about?
>
> There's a wishlist bug for it right now:
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=712979

Thanks. I've just subscribed to this bug.

> I like this approach better, but I'd suggest that we do something like:
>
> attachments => [{attachment_id => 1,
>                  content_type => 'text/plain',
>                  content_name => 'if defined',
>                  # or whatever the right mime headers are; I forget
>                  },]
>
>
> and then another SOAP interface which does something like:
>
> get_bug_attachment($bug_num,$msg_num,$attachment_id)

OK, I'll go along these lines.

> Another option could be for the SOAP call just to return the entire
> message without doing any MIME parsing; maybe that would be better?

Hmm, isn't this possible already via
<https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=712979;mbox=yes>?

And it has the disadvantage that the whole MIME parsing is left to the
different SOAP clients.

Best regards, Michael.


Reply to: