Closed
Bug 640750
Opened 14 years ago
Closed 6 years ago
LDAPSchemaElement.getOptionalValues() mangles values
Categories
(Directory :: LDAP Java SDK, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: nkinder, Assigned: nkinder)
Details
Attachments
(1 file)
646 bytes,
patch
|
richm
:
review+
|
Details | Diff | Splinter Review |
The LDAPSchemaElement.getOptionalValues() is designed to print out all optional qualifiers that are set for a schema element in a string that can be used in a schema definition. The problem is that spaces are not added between the qualifiers when there are more than one. This causes the resulting values to be mangled.
For example, assume one sets the following matching rule qualifiers for an LDAPAttributeSchema object:
EQUALITY foo
ORDERING bar
When printing out the attribute definition using LDAPAttributeSchema.getValue(), the getOptionalValues() method is called and results in the following string for the matching rule portion of the definition:
Equality fooOrdering bar
When more than multiple optional qualifiers are concatenated in getOptionalValues(), a space needs to be used between them.
This small change fixes this problem by adding a space between optional qualifiers when more than one value is concatenated.
Updated•14 years ago
|
Attachment #518507 -
Flags: review? → review+
Comment 2•6 years ago
|
||
Not activity for at least 6 years, closing.
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•