[phpldapadmin] [ phpldapadmin-Bugs-2997938 ] One unloadable DN causes others to not expand, missing JS

"SourceForge.net" <[email protected]> Fri, 07 May 2010 03:08:33 +0000
Newsgroups gmane.comp.ldap.davedap
Message-ID <[email protected]>
Bugs item #2997938, was opened at 2010-05-06 18:13
Message generated for change (Comment added) made by ziesemer
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498546&aid=2997938&group_id=61828

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: 1.2.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Mark Ziesemer (ziesemer)
Assigned to: Nobody/Anonymous (nobody)
Summary: One unloadable DN causes others to not expand, missing JS

Initial Comment:
I configured a 2nd base DN using $servers->setValue('sever','base',array('...','...')); .  This works fine for admin users that have access to both DNs.  For users that only have access to one DN, both DNs are listed, but only one with the child count - as expected.  However, even the DN that has a child count can't be expanded.  Attempting to do so yields a JavaScript error:  "opencloseTreeNode is not defined".

The cause appears to be that ajax_tree.js and layersmenu-browser_detection.js are not loaded into the browser.  Manually injecting them into Firefox using Firebug, example, allows the accessible DN to work as expected.

This is somewhat similar to bug # 2887656 , where a JavaScript error is observable that references other missing but different source.

Using phpLDAPadmin 1.2.0.5, OpenLDAP 2.4.21, Apache 2.2.14, PHP 5.3.2, and Ubuntu Linux 10.04.

----------------------------------------------------------------------

>Comment By: Mark Ziesemer (ziesemer)
Date: 2010-05-06 22:08

Message:
(Please see attached patch.)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498546&aid=2997938&group_id=61828

------------------------------------------------------------------------------

______________________________________
phpLDAPadmin development mailing list.
To unsbuscribe: https://lists.sourceforge.net/lists/listinfo/phpldapadmin-devel
http://phpldapadmin.sourceforge.net/