Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 2.2.0

Bug #14027 Schema is->binary() drops error if fetching attr fails
Submitted: 2008-05-30 09:39 UTC
From: beni Assigned: beni
Status: Closed Package: Net_LDAP2 (version CVS)
PHP Version: Irrelevant OS:
Roadmaps: 2.0.0    
Subscription  


 [2008-05-30 09:39 UTC] beni (Benedikt Hallinger)
Description: ------------ At Line 408 of Net_LDAP_Schema and 474 of Net_LDAP2_Schema, the attribute is fetched. However, if this fetching drops an Net_LDAP_Error, this will not be catched resulting in a fatal error. Actual result: -------------- Fatal error: Cannot use object of type Net_LDAP_Error as array in /usr/share/php/Net/Net_LDAP-CVS-200710091016/LDAP/Schema.php on line 408

Comments

 [2008-06-02 12:30 UTC] beni (Benedikt Hallinger)
Net_LDAP is also affected.
 [2008-06-04 10:50 UTC] beni (Benedikt Hallinger)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. Net_LDAP also fixed