[Tickets #7792] Re: DIMP fails to render the IMAP folder list when subfolders exist

bugs at horde.org bugs at horde.org
Sat Dec 20 21:03:47 UTC 2008


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

Ticket URL: http://bugs.horde.org/ticket/7792
------------------------------------------------------------------------------
  Ticket             | 7792
  Updated By         | gunnar.beutner at hetzner.de
  Summary            | DIMP fails to render the IMAP folder list when
                     | subfolders exist
  Queue              | DIMP
  Version            | 1.1
  Type               | Bug
  State              | Feedback
  Priority           | 2. Medium
  Milestone          |
  Patch              | 1
  Owners             | Michael Slusarz
------------------------------------------------------------------------------


gunnar.beutner at hetzner.de (2008-12-20 16:03) wrote:

The changed getFolderId() method from revision 1.1.2.116 does in fact  
fix my problem. Here's a transcript of my debugging session with  
Google Chrome's JavaScript debugger:

Using the pre-1.1.2.116 code:

$ break DimpBase.js:1574
set breakpoint #1
paused at breakpoint 1: #<an Object>.createFolder(ob=#<an Object>, 5),  
https://some-server/dimp/js/DimpBase.js
1574:                 parent_e = (parent_e) ? parent_e.down('UL') :  
$('normalfolders');
$ p parent_e
#<an HTMLLIElement>
$ p parent_e.down('UL')
undefined
$ p parent_e.innerHTML
<ul></ul>

Using the getFolderId()-function from rev. 1.1.2.116:

paused at breakpoint 1: #<an Object>.createFolder(ob=#<an Object>, 5),  
https://some-server/dimp/js/DimpBase.js
1574:                 parent_e = (parent_e) ? parent_e.down('UL') :  
$('normalfolders');
$ p parent_e
#<an HTMLLIElement>
$ p parent_e.down('UL')
#<an HTMLUListElement>
$ p parent_e.innerHTML
<ul></ul>

Oddly enough the <ul>-element actually exists in both cases, but for  
some reason the down() method can't seem to navigate to it.







More information about the bugs mailing list