6.0.0-beta1
9/5/25

[#13686] Folder list not shown - JS error
Summary Folder list not shown - JS error
Queue IMP
Queue Version 6.2.3
Type Bug
State No Feedback
Priority 1. Low
Owners
Requester frank.richter (at) hrz (dot) tu-chemnitz (dot) de
Created 11/10/2014 (3952 days ago)
Due
Updated 12/04/2014 (3928 days ago)
Assigned 11/12/2014 (3950 days ago)
Resolved 12/04/2014 (3928 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
12/04/2014 01:33:14 PM Jan Schneider State ⇒ No Feedback
 
11/25/2014 02:06:51 AM Michael Slusarz Comment #4 Reply to this comment
I think the error is in the JS parsing code for the mailbox structure.
As mentioned before, you need to provide the reason why this isn't 
working.  Meaning: what is the value of the data structures within 
javascript that is causing the error.

There's still nothing here that I can reproduce, let alone fix.
11/13/2014 02:55:06 PM frank (dot) richter (at) hrz (dot) tu-chemnitz (dot) de Comment #3 Reply to this comment
You're really going to have to trace the javascript and provide the 
actual data & code lines that is causing the error.
I think, the reason was this folder structure for this user:

Personal namespace:
    INBOX.group.name.sent     <-- used as a sent_mail_folder in an identity

Public namespace "group":
    group.name.sent

I deleted INBOX.group.name.sent and changed the sent_mail_folder -
and  now the listing of his folders works again.

I think the error is in the JS parsing code for the mailbox structure.

Thanks,
Frank
11/12/2014 06:29:48 PM Michael Rubinsky State ⇒ Feedback
 
11/11/2014 05:03:41 AM Michael Slusarz Comment #2 Reply to this comment
Sending the JSON data isn't useful.

You're really going to have to trace the javascript and provide the 
actual data & code lines that is causing the error.
11/10/2014 02:18:45 PM frank (dot) richter (at) hrz (dot) tu-chemnitz (dot) de Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Folder list not shown - JS error
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
Hi,

one of our users doesn't see his folders in IMP (dynamic), just 
"Loading ..." on the left side. A JavaScript error is shown on console:

TypeError: parent_e is null

     ...l.toLowerCase();f_node=parent_c.find(function(node){var 
m=flist.getMbox(node);re...

     b1765e4...506b.js (Zeile 498)

parent_c=parent_e.childElements();if(!ob.ns){ll=ob.l.toLowerCase();f_node=parent_c.find(function(node){var
m=flist.getMbox(node);return(m&&!m.fs()&&(ll<m.label().toLowerCase()));});}

This user has quite a lot folders, I could send you the JSON, if 
required, or other debug messages.

TIA,
Frank

Saved Queries