6.0.0-alpha14
7/2/25

[#9116] compose window hanging
Summary compose window hanging
Queue IMP
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester rsalmon (at) mbpgroup (dot) com
Created 06/29/2010 (5482 days ago)
Due
Updated 07/06/2010 (5475 days ago)
Assigned 06/29/2010 (5482 days ago)
Resolved 07/06/2010 (5475 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
07/06/2010 03:53:04 PM Michael Slusarz Comment #11
State ⇒ Resolved
Reply to this comment
Good catch - we need the full response object for mailboxCallback().   
Assuming that this fixed things for you, so closing the ticket.
07/06/2010 03:52:18 PM Git Commit Comment #10 Reply to this comment
07/05/2010 02:00:20 PM rsalmon (at) mbpgroup (dot) com Comment #9 Reply to this comment
Try this.
right fix ?

-- DIMP.baseWindow.DimpBase.mailboxCallback(d);
++ DIMP.baseWindow.DimpBase.mailboxCallback(r);
07/05/2010 11:11:58 AM rsalmon (at) mbpgroup (dot) com Comment #8 Reply to this comment
Try this.
the following code seems to fix the problem :
dimpbase.js: 2232

     mailboxCallback: function(r)
     {
         if (r.response == null) {
             r = r.mailbox;
         } else {
             r = r.response.mailbox;
         }
...

07/05/2010 10:43:48 AM rsalmon (at) mbpgroup (dot) com Comment #7 Reply to this comment
I don't where to look, how to track it down.

I use the default imp pref file, compose as text, and don't save the 
sent email.
If I click on "save as draft", it works fine.
07/05/2010 10:38:06 AM rsalmon (at) mbpgroup (dot) com Comment #6 Reply to this comment
Try this.
Nope, same problem.

07/02/2010 06:28:45 PM Michael Slusarz Comment #5
Assigned to Michael Slusarz
Reply to this comment
Try this.
07/02/2010 06:28:30 PM Git Commit Comment #4 Reply to this comment
07/01/2010 07:40:25 AM rsalmon (at) mbpgroup (dot) com Comment #3 Reply to this comment
Output from Firebug :

POST http://192.168.1.22/horde/services/ajax.php/imp/sendMessage 200 
OK 2.27s prototype.js (ligne 1421)

POST :

Paramètresapplication/x-www-form-urlencoded
bcc
cc
composeCache        3045280654c2c52b02b689
html        1
identity        0
last_identity        0
message        test<br />
priority        normal
save_sent_mail        on
save_sent_mail_folder        INBOX.Sent
subject        test
to        Ronan TEST <ronan@mbpgroup.com>,
Source
last_identity=0&html=1&composeCache=3045280654c2c52b02b689&save_sent_mail=on&save_sent_mail_folder=INBOX.Sent&priority=normal&identity=0&to=Ronan%20TEST%20%3Cronan%40mbpgroup.com%3E%2C%20&cc=&bcc=&subject=test&message=test%3Cbr%20%2F%3E%0A

RESPONSE :

/*-secure-{"response":{"action":"sendMessage","success":1,"uid":null,"draft_delete":1,"mailbox":[]}}*/



06/29/2010 11:07:51 PM Michael Slusarz Comment #2
State ⇒ Feedback
Reply to this comment
Need to do more than provide javascript error - need to figure out why 
r.response is undefined (i.e. by looking at AJAX response from server).
06/29/2010 01:43:27 PM rsalmon (at) mbpgroup (dot) com Comment #1
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Queue ⇒ IMP
Summary ⇒ compose window hanging
Type ⇒ Bug
Priority ⇒ 1. Low
Reply to this comment
Using traditional mode, the compose window automatically closes after 
clicking send.
Using dynamic mode, the compose windows hangs forever and I get the 
following error in Firebug :

doActionComplete  TypeError: r.response is undefined { 
message="r.response is undefined",  more...}

filename: "http://127.0.0.1/horde/imp/js/dimpbase.js"
linenumber : 2234
message : "r.response is undefined"
name : "TypeError"


Saved Queries