Summary | Redirecting emails throw the message "Error when communicating to the server" |
Queue | IMP |
Queue Version | 5.0.14 |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | slusarz (at) horde (dot) org |
Requester | bsoundarajan (at) gmail (dot) com |
Created | 11/12/2011 (4986 days ago) |
Due | |
Updated | 11/17/2011 (4981 days ago) |
Assigned | 11/13/2011 (4985 days ago) |
Resolved | 11/17/2011 (4981 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
[mms] Fix redirecting message from dynamic view popup message (
Bug #10738).3 files changed, 15 insertions(+), 4 deletions(-)
http://git.horde.org/horde-git/-/commit/388a6b0e3add44bc9a6a961b137f5c84eb0f10c8
the important bit of information.
[Thu Nov 17 13:37:06 2011] [error] [client 192.168.60.116] PHP Fatal
error: Call to a member function getHeaderOb() on a non-object in
/home/jan/horde-git/imp/lib/Compose.php on line 1939, referer:
http://neo.wg.de/headhorde/imp/message-dimp.php?ajaxui=1&mailbox=SU5CT1guaG9yZGUuYnVncw&uid=53006&uniq=1321533378583
[Thu Nov 17 13:37:06 2011] [error] [client 192.168.60.116] PHP Stack
trace:, referer:
http://neo.wg.de/headhorde/imp/message-dimp.php?ajaxui=1&mailbox=SU5CT1guaG9yZGUuYnVncw&uid=53006&uniq=1321533378583
[Thu Nov 17 13:37:06 2011] [error] [client 192.168.60.116] PHP 1.
{main}() /home/jan/horde-git/horde/services/ajax.php:0, referer:
http://neo.wg.de/headhorde/imp/message-dimp.php?ajaxui=1&mailbox=SU5CT1guaG9yZGUuYnVncw&uid=53006&uniq=1321533378583
[Thu Nov 17 13:37:06 2011] [error] [client 192.168.60.116] PHP 2.
IMP_Ajax_Application->doAction()
/home/jan/horde-git/horde/services/ajax.php:60, referer:
http://neo.wg.de/headhorde/imp/message-dimp.php?ajaxui=1&mailbox=SU5CT1guaG9yZGUuYnVncw&uid=53006&uniq=1321533378583
[Thu Nov 17 13:37:06 2011] [error] [client 192.168.60.116] PHP 3.
Horde_Core_Ajax_Application->doAction()
/home/jan/horde-git/imp/lib/Ajax/Application.php:95, referer:
http://neo.wg.de/headhorde/imp/message-dimp.php?ajaxui=1&mailbox=SU5CT1guaG9yZGUuYnVncw&uid=53006&uniq=1321533378583
[Thu Nov 17 13:37:06 2011] [error] [client 192.168.60.116] PHP 4.
call_user_func(array (0 => class IMP_Ajax_Application { public $notify
= TRUE; protected $_mbox = NULL; protected $_queue = class
IMP_Ajax_Queue { protected $_flag = array (...); protected $_poll =
array (...); protected $_quota = FALSE }; protected $_suppress = NULL;
protected $_readOnly = array (0 => 'html2Text', 1 => 'text2Html');
protected $_app = 'imp'; protected $_action = 'redirectMessage';
protected $_vars = class Horde_Variables { protected $_vars = array
(...); protected $_expectedVariables = array (...); protected
$_sanitized = FALSE }; protected $_defaultDomain = NULL }, 1 =>
'redirectMessage'))
/home/jan/horde-git/framework/Core/lib/Horde/Core/Ajax/Application.php:95,
referer:
http://neo.wg.de/headhorde/imp/message-dimp.php?ajaxui=1&mailbox=SU5CT1guaG9yZGUuYnVncw&uid=53006&uniq=1321533378583
[Thu Nov 17 13:37:06 2011] [error] [client 192.168.60.116] PHP 5.
IMP_Ajax_Application->redirectMessage()
/home/jan/horde-git/framework/Core/lib/Horde/Core/Ajax/Application.php:95,
referer:
http://neo.wg.de/headhorde/imp/message-dimp.php?ajaxui=1&mailbox=SU5CT1guaG9yZGUuYnVncw&uid=53006&uniq=1321533378583
[Thu Nov 17 13:37:06 2011] [error] [client 192.168.60.116] PHP 6.
IMP_Compose->sendRedirectMessage($to = 'jan@localhost')
/home/jan/horde-git/imp/lib/Ajax/Application.php:1678, referer:
http://neo.wg.de/headhorde/imp/message-dimp.php?ajaxui=1&mailbox=SU5CT1guaG9yZGUuYnVncw&uid=53006&uniq=1321533378583
New Attachment: communication_error.PNG
what i did:
Logged in to the application. I had few emails in my inbox. Double
clicked on the email. This opened in a new small window. From the new
window, used the "forward" > "redirect" option. Entered the email id.
Clicked on Redirect option provided. Threw "Error communicating to the
server"
Can you please help?
http://demo.horde.org/imp/. I have installed horde apps using pear
install.
http://demo.horde.org/imp/. I have installed horde apps using pear
install.
New Attachment: imp_screenshot.png
<snip>
public function sendRedirectMessage($to)
{
$recip = $this->recipientList(array('to' => $to));
$recipients = implode(', ', $recip['list']);
$identity = $GLOBALS['injector']->getInstance('IMP_Identity');
$from_addr = $identity->getFromAddress();
$contents = $this->getContentsOb(); ### Error occurred in this line
$headers = $contents->getHeaderOb();
</snip>
Attached screen shot for reference. Taken from
http://demo.horde.org/imp/. I have installed horde apps using pear
install.
(that line is blank).
Priority ⇒ 1. Low
line is blank).
State ⇒ Feedback
Priority ⇒ 2. Medium
for me. Is this happening for *all* messages?
Call to a member function getHeaderOb() on a non-object in
/var/www/webmail/imp/lib/Compose.php on line 1904
Priority ⇒ 3. High
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Queue ⇒ IMP
Summary ⇒ Redirecting emails throw the message "Error when communicating to the server"
Type ⇒ Bug
2. Assume that the user has received emails
3. Select a email and click to view the same from Inbox.
4. View the message and then select the Forward > Redirect option
5. Provide the To address and then click on Redirect.
6 Throws the error "Error when communicating to the server"