Bug in the bug system..

From: Date: Mon, 16 Oct 2000 01:17:43 +0000
Subject: Bug in the bug system..
References: 1  Groups: php.dev php.qa 
Request: Send a blank email to php-dev+get-35083@lists.php.net to get a copy of this message
I hate to reply my own emails, but this is clearly a 'bug' in the bug system. I accidently send that previous email to the list.. When you submit a bug, it will put the submitter's email address as the From: field ..so why not when the bug report is modified? Instead, it puts "Bug Database <php-dev@lists.php.net>" into From: field. --Jani On Mon, 16 Oct 2000, Jani Taskinen wrote: > > >Heh..I should have read ALL my emails before replying. =) >But still, this works for me just fine. Please try the >ldap_error($ds); thingie after action functions. > >--Jani > >On 12 Oct 2000, Bug Database wrote: > >>ID: 7168 >>User Update by: espot@rosa.nta.no >>Status: Open >>Bug Type: LDAP related >>Description: Unable to delete "facsimileTelephoneNumber" attribute >> >>in line 21 modInfo should be replaced by delInfo. >>The problem remains the same. >> >>Previous Comments: >>--------------------------------------------------------------------------- >> >>[2000-10-12 17:08:22] espot@rosa.nta.no >>The following script fails with the following output. >> >>Warning: LDAP: modify operation could not be completed. in crash.php line 18 >>Warning: LDAP: modify operation could not be completed. in crash.php line 21 >> >>I'm using OpenLdap 2.0.6 (same for 2.0.3) >>and PHP 4.0.3 (same for 4.0.2) >> >>if "facsimileTelephoneNumber" is substituted with "telephoneNumber" or >>any other attribute the script >>runs fine. (except of course for trying to delete the same value twice) >> >> >><?php >>$ds=ldap_connect("localhost"); // assuming the LDAP server is on this host >> >>if ($ds) { >> // bind with appropriate dn to give update access >> $r=ldap_bind($ds,"cn=root, o=LS, c=NO", "secret"); >> >> // prepare data >> $info["cn"]="John Jones"; >> $info["sn"]="Jones"; >> $info["facsimileTelephoneNumber"] = "555-55555"; >> $info["mail"]="jonj@here.and.now"; >> $info["objectclass"]="inetOrgPerson"; >> >> $r=ldap_add($ds, "cn=John Jones, o=LS, c=NO", $info); >> >> $modInfo["facsimileTelephoneNumber"] = ""; >> ldap_modify($ds, "cn=John Jones, o=LS, c=NO", $modInfo); >> >> $delInfo["facsimileTelephoneNumber"] = "555-55555"; >> ldap_mod_del($ds, "cn=John Jones, o=LS, c=NO", $modInfo); >> >> ldap_close($ds); >>} else { >> echo "Unable to connect to LDAP server"; >>} >>?> >> >> >> >>--------------------------------------------------------------------------- >> >> >>Full Bug description available at: >>http://bugs.php.net/?id=7168 >> >> >> > > -- Joo.

« previous php.dev (#35083) next »