Yup it is broken, and an easy fix too... http://phpldapadmin.cvs.sourceforge.net/viewvc/phpldapadmin/phpldapadmin/lib/EntryWriter1.php?r1=1.3.2.30&r2=1.3.2.31
...deon ----- Original Message ----- From: Lawrence Stewart <[email protected]> Sent: Mon, 19/1/2009 7:53pm To: [email protected] Subject: [phpldapadmin-users] <option>=php.Multilist(...)</option> broken between 1.1.0.5 and 1.1.0.6? Hi All, I just upgraded to 1.1.0.6 and noticed that any schema using php.Multilist() seems to be busted. My test attribute that barfs looks like this: <attribute id="allowedUsers"> <display>Allowed Users</display> <option>=php.MultiList(/,(objectClass=posixAccount),uid)</option> <order>2</order> <page>1</page> </attribute> The other default schemas (e.g. posixGroup, sambaGroupMapping.xml) that use this function also appear to be broken. Attempting to create a new object based on a schema with this attribute in it causes the attached PHP backtrace to result. It manages to render preceding attributes in the schema just fine, so it appears to be an isolated problem with the multi-select rendering. Explicitly adding <type>select</type> to the attribute results in a regular drop-down select box being populated with users as expected without any backtrace being generated. I'm pretty sure this worked in 1.1.0.5, but it's not simple for me to backtrack at the moment to double check. Is anyone else seeing this behaviour or would anyone be willing to test a schema which uses this function (e.g. sambaGroupMapping) and see if you get the same result? Try create an object of type sambaGroupMapping and let me know what happens. Cheers, Lawrence ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword_______________________________________________ phpldapadmin-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ phpldapadmin-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users
