[Tickets #12050] DIMP folder list won't load when special folders have subfolders

noreply at bugs.horde.org noreply at bugs.horde.org
Sat Feb 16 00:44:13 UTC 2013


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/12050
------------------------------------------------------------------------------
  Ticket             | 12050
  Created By         | bert at fraterman.org
  Summary            | DIMP folder list won't load when special folders have
                     | subfolders
  Queue              | Horde Groupware
  Version            | 5.0.4
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


bert at fraterman.org (2013-02-16 00:44) wrote:

When a special folder, like 'Sent items' has subfolders, the folder  
list in DIMP will remain at 'loading' and will never display any  
folders.

I've tracked down the bug to a javascript exception thrown:
Exception: TypeError: parent_e is null
And the source:
dimpbase.js:3207
f_node = parent_e.childElements().find(function(node) {


parent_e is nullified in code block in dimpbase.js:3197
if (!ob.s) {
	div.addClassName(ob.ch ? 'exp' : (ob.cl || 'folderImg'));
	parent_e = ob.pa
		? this.getSubMboxElt(ob.pa)
		: $('imp-normalmboxes');
}

In this.getSubMboxElt(ob.pa) it looks like it's trying to display  
subfolders which aren't loaded by the imp/listmailboxes call.





More information about the bugs mailing list