Bug 124351 (DEFECT000277741) - toString() method of LDAPEntry, LDAPAttribute, LDAPModification, etc should return more useful info
Summary: toString() method of LDAPEntry, LDAPAttribute, LDAPModification, etc should r...
Status: VERIFIED FIXED
Alias: DEFECT000277741
Product: NDS SDK
Classification: Novell Products
Component: LDAP Java SDK (show other bugs)
Version: OCT 2006 NDK
Hardware: Other Other
: P5 - None : Minor
Target Milestone: FCS
Assignee: Jeff Vincent
QA Contact: Sundar Swamy
URL:
Whiteboard:
Keywords: English
Depends on:
Blocks:
 
Reported: 2001-08-23 21:14 UTC by Steve Trottier
Modified: 2006-11-15 23:21 UTC (History)
1 user (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rajkumar V 2005-10-10 22:54:38 UTC


------- Bug moved to this database by vrajkumar@novell.com 2005-10-10 16:54 -------

This bug previously known as bug DEFECT000277741 at remedy/
remedy/show_bug.cgi?id=DEFECT000277741
Originally filed under the NDS SDK product and LDAP Java SDK component.

---------
<remedy_version_found_in> Sept NDK </remedy_version_found_in>
---------
<remedy_details> Like it or not, the Netscape LDAP SDK is the one
      others are measured against. On the Netscape SDK, when you call the
      toString() method of LDAPEntry, LDAPAttribute, LDAPModification, etc,
      it returns a descriptive string that represents the entry, attribute,
      or modification pretty well.

If you call toString() on those classes in the Novell LDAP Libraries for Java,
you get a meaningless object identifier as the string.

I used to use the strings Netscape would return as part of the trace messages
for my driver in DSTrace. Since I switched to Novell's SDK I've had to
extract the information that I want to print from those classes myself. It
doesn't take a lot more work, but I think it would be nice if toString()
returned something more representative of the object. </remedy_details>
---------
<remedy_notes> vtag (  8/6/2002 10:53:09 AM  Fixing - Approved
      for Investigation ) Tostring methods added to LDAPAttribute,
      LDAPAttributeSet, LDAPEntry modeled after the format used by the
      Netscape API.

vtag (  7/31/2002 1:57:38 PM  Fixing - New ) Steve Trottier sent toString
code for LDAPAttribute.  See if he has others, and evaluate what toString
means for the various objects.

 </remedy_notes>