[Tickets #4221] Re: Off-by-one error: Selecting NO for 'Save Attachments with message in sent-mail folder' and attaching PHP public key removes all but one of the attachments

bugs at bugs.horde.org bugs at bugs.horde.org
Thu Nov 1 03:25:12 UTC 2007


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=4221
-----------------------------------------------------------------------
 Ticket             | 4221
 Updated By         | Michael Slusarz <slusarz at horde.org>
 Summary            | Off-by-one error: Selecting NO for 'Save Attachments with message in
                    | sent-mail folder' and attaching PHP public key removes all but one of
                    | the attachments
 Queue              | IMP
 Version            | 4.1.2
 Type               | Bug
-State              | Assigned
+State              | Stalled
 Priority           | 1. Low
 Owners             | Michael Slusarz
-----------------------------------------------------------------------


Michael Slusarz <slusarz at horde.org> (2007-10-31 20:25) wrote:

> So we end up not stripping one attachment that we should? I'm not 
> sure I follow why the above means that, but if that's the case at 
> least this isn't destructive. If you confirm, please stall this for 
> 5.0.

What I mean is that if we create a multipart/mixed message ourself, and
then populate with subparts, these parts have no MIME IDs - i.e. these IDs
can not be dynamically assigned/determined by MIME_Part.  Unless you
specifically set the MIME IDs at creation time - which we do when
rebuilding from IMAP message data for example - it is impossible to access
the individual MIME parts.

IIRC, this off-by-one issue deals with this limitation, and there is no
solution except to make BC-breaking changes to MIME_Part.  So stalling for
Horde 5.



More information about the bugs mailing list