Summary | cannot send draft mail |
Queue | IMP |
Queue Version | 6.1.3 |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | slusarz (at) horde (dot) org |
Requester | l.kiraly (at) madalbal (dot) hu |
Created | 07/17/2013 (4370 days ago) |
Due | |
Updated | 07/29/2013 (4358 days ago) |
Assigned | 07/17/2013 (4370 days ago) |
Resolved | 07/29/2013 (4358 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
Assigned to Michael Slusarz
State ⇒ Resolved
Version ⇒ 6.1.3
Can't replicate errors, but the draft message is missing the
multipart/related attachments, so that's most likely the issue.
commit 2b025feb0e238915876fa4bd3e352f665a6e8bc0
Author: Michael M Slusarz <slusarz@horde.org>
Date: Mon Jul 29 17:02:00 2013 -0600
[mms] Correctly save multipart/related data when saving compose
message as a draft.
Bug #12469imp/docs/CHANGES | 2 ++
imp/lib/Compose.php | 2 +-
imp/package.xml | 2 ++
3 files changed, 5 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/2b025feb0e238915876fa4bd3e352f665a6e8bc0
set yourself up for spamming.
You need a way of providing a reproducible test case on our system
independent of how your system is set up (unless you can identify
what on your system is causing the problem and how it can be worked
around).
reproduce the problem.
How did you test this problem?
If you need, I can give you a script which send exactly the same mail
to your server.
for this specific mail, regardless which computer I use.
error: Call to a member function getPart() on a non-object in
/usr/local/src/horde/imp/lib/Compose/View.php on line 38
This can ONLY happen if someone explicitly clicks on an attachment's
data. If that is happening automatically on your system when opening
a draft message, your installation is totally screwed up (and I'd
actually be a bit worried that there is some sort of worm/click
hijacking occurring also).
yourself up for spamming.
You need a way of providing a reproducible test case on our system
independent of how your system is set up (unless you can identify what
on your system is causing the problem and how it can be worked around).
---
[Thu Jul 18 11:06:46 2013] [error] [client 192.168.10.200] PHP Fatal
error: Call to a member function getPart() on a non-object in
/usr/local/src/horde/imp/lib/Compose/View.php on line 38
----
And this is what I get when I try to send the mail:
---
[Thu Jul 18 11:07:02 2013] [error] [client 192.168.10.200] PHP Fatal
error: Call to a member function getPart() on a non-object in
/usr/local/src/horde/imp/lib/Compose.php on line 2528, referer:
https://horde.madalbal.hu/imp/dynamic.php?page=compose&buid=16358&mailbox=SU5CT1g&type=reply_auto&token=jCyRg-yywJjFlxUYd91m-w1&uniq=1374138412143
---
I can give you a test account.
How can I insert this message to imp, to test it from another account?
reproducible test case on our system, this ticket will be closed.
error: Call to a member function getPart() on a non-object in
/usr/local/src/horde/imp/lib/
Compose/View.php on line 38, referer:
https://horde.madalbal.hu/imp/dynamic.php?page=compose&buid=42&mailbox=RHJhZnRz&type=resume&token=AbfgaRVKWGf6t3LVIMT2tw
1&uniq=1374060231580
trying to click on an attachment preview.
I found this PHP error 11 times in my webserver log:
---
[Wed Jul 17 13:23:56 2013] [error] [client 192.168.1.4] PHP Fatal
error: Call to a member function getPart() on a non-object in
/usr/local/src/horde/imp/lib/
Compose/View.php on line 38, referer:
https://horde.madalbal.hu/imp/dynamic.php?page=compose&buid=42&mailbox=RHJhZnRz&type=resume&token=AbfgaRVKWGf6t3LVIMT2tw
1&uniq=1374060231580
---
State ⇒ Feedback
State ⇒ Unconfirmed
New Attachment: Re_ Consignment angle grinder 115mm 750W.eml
Patch ⇒ No
Milestone ⇒
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ cannot send draft mail
Queue ⇒ IMP