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

Request #13979 creating entry objects and modifiyng should be more smart
Submitted: 2008-05-24 11:46 UTC
From: beni Assigned:
Status: Open Package: Net_LDAP2 (version CVS)
PHP Version: Irrelevant OS: Debian Etch
Roadmaps: 2.1.0    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 27 + 3 = ?

 
 [2008-05-24 11:46 UTC] beni (Benedikt Hallinger)
Description: ------------ It should be researched if adding/modifing an entry needs to be so complicated. Currently one must know if the entry is present inside the directory or if it is a new one. However, this is more performant than checking the dn every run. Maybe we should introduce some "smart" constructor, that checks for existance inside the server and then calls the appropriate constructor. For modifying entries this could be more simplified - if modification or adding fails, we could adjust $_new and try again instead failing immediately.

Comments