[#7059] Can't forward message
Summary Can't forward message
Queue DIMP
Queue Version HEAD
Type Bug
State Resolved
Priority 1. Low
Owners Michael Slusarz <slusarz (at) horde (dot) org>
Requester rsalmon (at) mbpgroup (dot) com
Created 07/11/2008 (132 days ago)
Due
Updated 07/23/2008 (120 days ago)
Assigned 07/15/2008 (128 days ago)
Resolved 07/23/2008 (120 days ago)
Attachments email.eml Download
Milestone
Patch No

History
07/23/2008 Chuck Hagenbuch State ⇒ Resolved
Assigned to Michael Slusarz
 
07/23/2008 rsalmon (at) mbpgroup (dot) com Comment #15 Reply to this comment
Key information which has appeared *nowhere* else in this ticket:
* You are using Xinha
* You are using HTML compose by default
I mention in my previous comment that I was composing a message using 
xinha but I didn't mention it in my original post, sorry.

Since neither of these are the default value, I have not been
checking this combination.  With these prefs set, I can reproduce the
following, which has been fixed:
[Break on this error] m.setStyle({ height: this.getMsgAreaHeight() +
'px' });
Also, discovered some other Xinha/IE weirdness where the Xinha code
has to be loaded below all other included JS or else it doesn't work.

With these fixes, see if things work now.
forwarding does work now, replying from the messages list and from a 
popup window.
the javascript error is fixed as well. Originally I was getting an 
error about variable A because, by default, horde's apps are using the 
compress js files.

Thanks.

07/22/2008 CVS Commit Comment #14 Reply to this comment
07/22/2008 Michael Slusarz Comment #13 Reply to this comment
Key information which has appeared *nowhere* else in this ticket:
* You are using Xinha
* You are using HTML compose by default

Since neither of these are the default value, I have not been checking 
this combination.  With these prefs set, I can reproduce the 
following, which has been fixed:
[Break on this error] m.setStyle({ height: this.getMsgAreaHeight() + 'px' });
Also, discovered some other Xinha/IE weirdness where the Xinha code 
has to be loaded below all other included JS or else it doesn't work.

With these fixes, see if things work now.
07/22/2008 CVS Commit Comment #12 Reply to this comment
07/22/2008 rsalmon (at) mbpgroup (dot) com Comment #11 Reply to this comment
I'll try to track down the javascript error. Can you tell me how to
tell DIMP to use the js/src/* files instead of js/* ?
found out how to use js/src files I use xinha as the HTML editor

This is what I'm getting with Firebug : file js/src/compose.php line 612
m is undefined
resizeMsgArea()()compose.js (ligne 612)
emptyFunction()()prototype.js (ligne 1)
emptyFunction()()prototype.js (ligne 1)
[Break on this error] m.setStyle({ height: this.getMsgAreaHeight() + 'px' });

I don't think this has anything to do with my initial problem, so can 
you give me direction on where to look for the problem I'm having ?
Thanks.

07/22/2008 rsalmon (at) mbpgroup (dot) com Comment #10 Reply to this comment

Are you getting the following warning right after clicking on Forward ?
doActionComplete callback: TypeError: A is undefined
As mentioned before, no.

You will need to trace the callback using something like Firebug.
The error is occurring in the callback from the GetForwardData call
to imp.php.  There is a variable 'm' defined in
DimpCore::showNotifications(), which is called as part of the
callback function, which could possibly match up to the error Jan has
identified.
I'll try to track down the javascript error. Can you tell me how to 
tell DIMP to use the js/src/* files instead of js/* ?

07/21/2008 Michael Slusarz Comment #9 Reply to this comment
Are you getting the following warning right after clicking on Forward ?
doActionComplete callback: TypeError: A is undefined
As mentioned before, no.

You will need to trace the callback using something like Firebug.  The 
error is occurring in the callback from the GetForwardData call to 
imp.php.  There is a variable 'm' defined in 
DimpCore::showNotifications(), which is called as part of the callback 
function, which could possibly match up to the error Jan has identified.
07/21/2008 rsalmon (at) mbpgroup (dot) com Comment #8 Reply to this comment
And this still works properly for me.  I just checked my dev tree and
I don't have any uncommitted changes here.  Double check that all of
your browser's caches are emptied, and if using filesystem JS caching
in DIMP/IMP, remove these files also.
Cache is disabled everywhere:
[/var/www/html/horde]# grep cache imp/config/conf.php config/conf.php
imp/config/conf.php:$conf['server']['cache_folders'] = true;
imp/config/conf.php:$conf['server']['cachejs'] = 'none';
imp/config/conf.php:$conf['server']['cachecss'] = 'none';
imp/config/conf.php:$conf['msgcache']['use_msgcache'] = false;
imp/config/conf.php:$conf['mlistcache']['use_mlistcache'] = false;
config/conf.php:$conf['session']['cache_limiter'] = 'nocache';
config/conf.php:$conf['group']['cache'] = false;
config/conf.php:$conf['share']['cache'] = false;
config/conf.php:$conf['cache']['default_lifetime'] = 86400;
config/conf.php:$conf['cache']['params']['dir'] = '/tmp';
config/conf.php:$conf['cache']['params']['sub'] = 0;
config/conf.php:$conf['cache']['driver'] = 'file';
config/conf.php:$conf['sessionhandler']['memcache'] = false;
config/conf.php:$conf['memcache']['enabled'] = false;
[/var/www/html/horde]#  rm -rf /tmp/horde* /tmp/cache_*

I've cleared FF3's cache and cookies and restarted FF3, I've updated 
from CVS this morning and still not working.

Are you getting the following warning right after clicking on Forward ?
doActionComplete callback: TypeError: A is undefined

07/18/2008 Michael Slusarz Comment #7 Reply to this comment

Nope - still works perfectly fine for me.  Used both FF3 and IE7 on
Windows Vista.
Doesn't work here with FF3 either. Here is an other way to reproduce
the bug :
- double click on a message (a popup window appear)
- click on forward (Entire Message or Attachments Only)
- click on "save as draft"
- check the message from the draft folder -> attachment is gone.
And this still works properly for me.  I just checked my dev tree and 
I don't have any uncommitted changes here.  Double check that all of 
your browser's caches are emptied, and if using filesystem JS caching 
in DIMP/IMP, remove these files also.
07/16/2008 rsalmon (at) mbpgroup (dot) com Comment #6 Reply to this comment
Nope - still works perfectly fine for me.  Used both FF3 and IE7 on
Windows Vista.
Doesn't work here with FF3 either. Here is an other way to reproduce the bug :
- double click on a message (a popup window appear)
- click on forward (Entire Message or Attachments Only)
- click on "save as draft"
- check the message from the draft folder -> attachment is gone.

I use CVS head as of yesterday /dimp/CVS/Entries :
/COPYING/1.2/Mon Aug 21 14:14:00 2006//
/README/1.3/Wed Nov 14 04:38:56 2007//
/dimple.php/1.19/Mon May 19 07:00:35 2008//
/message.php/1.69/Mon Jun 23 07:11:22 2008//
/index.php/1.70/Fri Jun 27 07:37:23 2008//
/compose.php/1.114/Tue Jul 15 07:11:52 2008//
/imp.php/1.225/Tue Jul 15 07:11:52 2008//


I can't update from CVS this morning, there is an error from the CVS server:
cvs [update aborted]: unrecognized auth response from 
anoncvs.horde.org: cvs pserver: /repository/CVSROOT/config: 
unrecognized keyword 'UseNewInfoFmtStrings'.


07/15/2008 Michael Slusarz Comment #5
Taken from Michael Slusarz
Reply to this comment
Nope - still works perfectly fine for me.  Used both FF3 and IE7 on 
Windows Vista.
07/15/2008 Jan Schneider Comment #4 Reply to this comment

Works for me, using both "Entire Message" and "Attachments Only".
I've attached a message with a small file attached. I've updated CVS
this morning and it doesn't work, but now I get javascript errors :
- open message in a new window
- click on Forward -> "Entire Message" : error : doActionComplete
callback : TypeError: A has no properties
Using js/src files, I get "m has no properties".
- add myself as recipient (message seems to be attached : unnamed
[message/rfc822] (2,36 KB) )
- click on send: error doActionComplete callback : TypeError:
this_iframe.contentWindow has no properties
I see this too.
the message received doesn't have the file .bash_profile attached.
same here.
07/15/2008 rsalmon (at) mbpgroup (dot) com Comment #3
New Attachment: email.eml Download
Reply to this comment
Works for me, using both "Entire Message" and "Attachments Only".
I've attached a message with a small file attached. I've updated CVS 
this morning and it doesn't work, but now I get javascript errors :
- open message in a new window
- click on Forward -> "Entire Message" : error : doActionComplete 
callback : TypeError: A has no properties
- add myself as recipient (message seems to be attached : unnamed 
[message/rfc822] (2,36 KB) )
- click on send: error doActionComplete callback : TypeError: 
this_iframe.contentWindow has no properties

the message received doesn't have the file .bash_profile attached.


07/15/2008 Michael Slusarz Comment #2
Priority ⇒ 1. Low
State ⇒ Feedback
Reply to this comment
Works for me, using both "Entire Message" and "Attachments Only".
07/12/2008 Jan Schneider State ⇒ Assigned
Summary ⇒ Can't forward message
Assigned to Michael Slusarz
 
07/11/2008 rsalmon (at) mbpgroup (dot) com Comment #1
Patch ⇒
Milestone ⇒
Queue ⇒ DIMP
Summary ⇒ Can't transfert message
Type ⇒ Bug
Priority ⇒ 3. High
State ⇒ Unconfirmed
Reply to this comment

- double click on a message (a popup window appear)
- click on forward (Entire Message or Attachments Only)
- a new compose window appears with the message attached
- send the email.

the email sent doesn't include the attachment(s)!

the weird thing is that is does work if you don't open the message in 
a popup window, but try to forward the email from the messages list's 
menu .