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

"SourceForge.net" <[email protected]> Thu, 28 Apr 2011 14:38:27 +0000
Newsgroups gmane.comp.ldap.davedap
Message-ID <[email protected]>
Bugs item #2997938, was opened at 2010-05-07 09:13
Message generated for change (Comment added) made by wurley
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: Pending
>Resolution: Out of Date
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: Deon George (wurley)
Date: 2011-04-29 00:38

Message:
I think this bug has been fixed, with the work that has already done to
date (post 1.2.0.5). (I cant reproduce it)

You can check if this is still a problem, but checking out a development
snapshot here. If the problem still exists, please re-open this bug.

http://phpldapadmin.git.sourceforge.net/git/gitweb.cgi?p=phpldapadmin/phpldapadmin;a=snapshot;h=7209006714df599d1d6912ded888e6fbb8b9f938;sf=tgz

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

Comment By: Mark Ziesemer (ziesemer)
Date: 2010-05-07 13:08

Message:
(Please see attached patch.)

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

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

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
______________________________________
phpLDAPadmin development mailing list.
To unsbuscribe: https://lists.sourceforge.net/lists/listinfo/phpldapadmin-devel
http://phpldapadmin.sourceforge.net/