[Mono-bugs] [Bug 55736][Maj] Changed - LdapSearchResults Count always zero

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 13 May 2004 16:31:47 -0400 (EDT)

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by sunilk@novell.com.


--- shadow/55736	2004-05-13 16:06:55.000000000 -0400
+++ shadow/55736.tmp.30081	2004-05-13 16:31:47.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 55736
 Product: Mono: Class Libraries
 Version: unspecified
 OS: unknown
 OS Details: Novell.Directory.Ldap
-Status: NEW   
+Status: RESOLVED   
+Resolution: INVALID
 Severity: Unknown
 Priority: Major
 Component: CORLIB
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: salimma1@yahoo.co.uk               
 QAContact: mono-bugs@ximian.com
@@ -38,6 +38,22 @@
 How often does this happen? 
 Additional Information:
 Windows XP SP1, Visual Studio Enterprise Architect 2003 with .NET Runtime
 1.1, LDAP.dll from Mono 0.30 for Windows
+------- Additional Comments From sunilk@novell.com  2004-05-13 16:31 -------
+This is not a bug. If you look at the documentation of Count it 
+clearly states " The number of items received but not retrieved by 
+the application" . It doesn't show the  number of LdapEntry objects 
+returned by serach.
+     SO ideally if you are doing a search and you are retrieveing 
+entry one by one a sthe netry comes to client, it will be zero. But 
+if you block and let all the entry comes to client before retrieving 
+any of them and then you print this value, it iwll contain the number 
+of entry returned by Search.