6.0.0-beta1
8/13/25

[#11721] dimpbase.js failure screen after login keeps blank
Summary dimpbase.js failure screen after login keeps blank
Queue IMP
Queue Version 6.0.1
Type Bug
State Not A Bug
Priority 2. Medium
Owners slusarz (at) horde (dot) org
Requester tleitel (at) web (dot) de
Created 11/18/2012 (4651 days ago)
Due
Updated 12/05/2012 (4634 days ago)
Assigned 11/19/2012 (4650 days ago)
Resolved 11/19/2012 (4650 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
12/05/2012 01:36:14 PM fabio (at) opus2 (dot) com (dot) br Comment #10 Reply to this comment
Aloyse, Jan, I have the same problem with the IE8 machines. The 
problem is reproducible just like Aloyse said, Horde configured to 
login straight into IMP and it happens only when you close all browser 
windows and then reopen and login: a javascript error alert is 
displayed at the status bar and from then on, nothing else works. If 
you press F5 two or three times, the problem disappears.


Error details:
Windows XP SP3, same config as Aloyse's.

Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; 
.NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET 
CLR 3.5.30729; FDM)

Message: 'undefined' is null or not an object
Line: 3687
Character: 13
Code: 0
URI: http://(domain)/imp/js/dimpbase.js


The line in question is a call to DM.addSubMenu. If comment that line 
out, the error happens again in other lines where there are calls to 
the same function. It's  when the script is putting together the 
quicksearch dropdown menu. "DM" is DimpCore.DMenu.

11/23/2012 06:28:16 PM Jan Schneider Comment #9 Reply to this comment
Cannot reproduce either.
11/23/2012 09:38:15 AM aloyse (dot) gilbert (at) gmail (dot) com Comment #8 Reply to this comment
There is a synchronization problem ?

I added an alert-breakpoint before this.DMenu gets initialized, see below

The error in dimpbase.js occurs before DimpCore.DMenu is defined.

--- dimpcore.js_orig        2012-11-23 10:01:16.000000000 +0100
+++ dimpcore.js        2012-11-23 10:06:17.000000000 +0100
@@ -380,8 +380,8 @@
      onDomLoad: function()
      {
          HordeCore.initHandler('click');
-
          if (typeof ContextSensitive != 'undefined') {
+alert('DimpCore.onDomLoad - breakpoint before: this.DMenu = new 
ContextSensitive()');
              this.DMenu = new ContextSensitive();
          }
      }

11/23/2012 08:41:03 AM aloyse (dot) gilbert (at) gmail (dot) com Comment #7 Reply to this comment
Same problem with dimpbase.js hanging in IE8 when imp is the first page.

our Configuration:
- WinXP SP3 with IE8 - latest
- webmail-5.0.1 on debian6 with apache2

Reproduction of the fault:
- IE8 cache must be cleared or refreshed (check for new versions... 
[x] every time i start IE )
- Horde is configured to use imp as start app ( 
$_prefs['initial_application']['value'] = 'imp'; )
1) start IE8
2) logon to horde
3) the xxx/imp/dynamic.php?page=mailbox blocks
4) hitting the Mail button in the navigation bar reloads the page
- only the very first time this happens. Afterwards loging off an on 
again is OK



11/21/2012 08:03:59 PM tleitel (at) web (dot) de Comment #6
New Attachment: dimpbase.js Download
Reply to this comment
Thanks a lot, but there is still other lines to comment out.
I posted the whole script.

[Show Quoted Text - 46 lines]
11/21/2012 10:41:17 AM boite_de_merde_bobo (at) yahoo (dot) fr Comment #5 Reply to this comment

[Show Quoted Text - 13 lines]
  Hello again,
I find a solution (not perfect) but it can help users.
- comment lines containing DM.addSubMenu like this :

         if ($('horde-search')) {
             this._setQsearchText();

             DimpCore.addContextMenu({
                 elt: $('horde-search-dropdown'),
                 left: true,
                 offset: $$('#horde-search .horde-fake-input')[0],
                 type: 'qsearchopts'
             });
             DimpCore.addContextMenu({
                 elt: $('horde-search-dropdown'),
                 left: false,
                 offset: $$('#horde-search .horde-fake-input')[0],
                 type: 'qsearchopts'
             });
             /* DM.addSubMenu('ctx_qsearchopts_by', 'ctx_qsearchby'); */

             DimpCore.addPopdownButton('button_filter', 'filteropts', {
                 trigger: true
             });
             /* DM.addSubMenu('ctx_filteropts_filter', 'ctx_filter');
             DM.addSubMenu('ctx_filteropts_flag', 'ctx_flag_search');
             DM.addSubMenu('ctx_filteropts_flagnot', 'ctx_flag_search'); */

             /* Don't submit FORM. Really only needed for Opera (Bug #9730)
              * but shouldn't hurt otherwise. */
             $('horde-search-input').up('FORM').observe('submit', Event.stop);
         }
11/21/2012 09:59:50 AM boite_de_merde_bobo (at) yahoo (dot) fr Comment #4 Reply to this comment
You had stale javascript in your browser.
According to an other installation, the javascript dumpbase.js file 
that crashes is exactly the same.

What does your answer mean ?

Is the browser to old ?
Hello,
Same problem for me. With IE 7 and IE 8 up-to-date.
Horde IMP could be adaptive with IE and not the opposite. So, anyone 
have a patch ?
Thanks
11/20/2012 03:26:39 PM tleitel (at) web (dot) de Comment #3 Reply to this comment
You had stale javascript in your browser.
According to an other installation, the javascript dumpbase.js file 
that crashes is exactly the same.

What does your answer mean ?

Is the browser to old ?
11/19/2012 10:26:13 PM Michael Slusarz Comment #2
State ⇒ Not A Bug
Reply to this comment
You had stale javascript in your browser.
11/19/2012 11:55:16 AM Jan Schneider Assigned to Michael Slusarz
State ⇒ Assigned
 
11/19/2012 11:53:55 AM Jan Schneider Version ⇒ 6.0.1
Queue ⇒ IMP
 
11/18/2012 05:44:02 PM tleitel (at) web (dot) de Comment #1
Patch ⇒ No
State ⇒ Unconfirmed
Milestone ⇒
Queue ⇒ Horde Groupware Webmail Edition
Summary ⇒ dimpbase.js failure screen after login keeps blank
Type ⇒ Bug
Priority ⇒ 2. Medium
Reply to this comment
Everytime I login webmail, the screen keeps blank. After pressing the 
reload button on my browser the whole programm works correct.

This is the message that my browser get out.

Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET 
CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)

notice: 'undefined' is Null or no object
row: 3679
sign: 13
Code: 0
URI: 
http://xxxxxxxxxxxxxxxxxxxxxx.com/Webmail/imp/js/dimpbase.js?v=f96ff7455f43a9c30f7f28e6cef94c5f

Saved Queries