
|
If you were logged in you would be able to see more operations.
|
|
|
|
File Attachments:
|
|
|
Environment:
|
ApacheDS 1.0 RC 3
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
Microsoft Windows XP version 5.1 Service Pack 1
ApacheDS 1.0 RC 3
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
Microsoft Windows XP version 5.1 Service Pack 1
|
|
| Resolution Date: |
30/Jul/06 03:12 PM
|
|
Performing two modifications on a single attribute within a single modify operation fails.
After creating an entry like this:
dn: cn=Kate Bush,dc=example,dc=com
objectclass: person
objectclass: top
sn: Bush
cn: Kate Bush
e.g.
$ ldapmodify -h localhost -p 10389 -D "uid=admin,ou=system" -w ****** -a -f KateBush.ldif
adding new entry cn=Bush\, Kate,dc=example,dc=com
I perform a modify operation with two modification items:
dn: cn=Kate Bush,dc=example,dc=com
changetype: modify
add: description
description: Kate Bush is a British singer-songwriter.
description: She has become one of the most influential female artists of the twentieth century.
-
delete: description
description: She has become one of the most influential female artists of the twentieth century.
which results in an error:
$ ldapmodify -h localhost -p 10389 -D "uid=admin,ou=system" -w ****** -f twoModifications.ldif
modifying entry cn=Kate Bush,dc=example,dc=com
ldap_modify: No such attribute
ldap_modify: additional info: failed to modify entry cn=Kate Bush,dc=example,dc=com
The expected result is to perform both modification items within a single transaction, resulting in an entry like this:
dn: cn=Kate Bush,dc=example,dc=com
objectclass: person
objectclass: top
sn: Bush
cn: Kate Bush
description: Kate Bush is a British singer-songwriter.
Find an equivalent JNDI JUnit test case attached.
|
|
Description
|
Performing two modifications on a single attribute within a single modify operation fails.
After creating an entry like this:
dn: cn=Kate Bush,dc=example,dc=com
objectclass: person
objectclass: top
sn: Bush
cn: Kate Bush
e.g.
$ ldapmodify -h localhost -p 10389 -D "uid=admin,ou=system" -w ****** -a -f KateBush.ldif
adding new entry cn=Bush\, Kate,dc=example,dc=com
I perform a modify operation with two modification items:
dn: cn=Kate Bush,dc=example,dc=com
changetype: modify
add: description
description: Kate Bush is a British singer-songwriter.
description: She has become one of the most influential female artists of the twentieth century.
-
delete: description
description: She has become one of the most influential female artists of the twentieth century.
which results in an error:
$ ldapmodify -h localhost -p 10389 -D "uid=admin,ou=system" -w ****** -f twoModifications.ldif
modifying entry cn=Kate Bush,dc=example,dc=com
ldap_modify: No such attribute
ldap_modify: additional info: failed to modify entry cn=Kate Bush,dc=example,dc=com
The expected result is to perform both modification items within a single transaction, resulting in an entry like this:
dn: cn=Kate Bush,dc=example,dc=com
objectclass: person
objectclass: top
sn: Bush
cn: Kate Bush
description: Kate Bush is a British singer-songwriter.
Find an equivalent JNDI JUnit test case attached. |
Show » |
made changes - 07/Jun/06 07:48 PM
| Field |
Original Value |
New Value |
|
Attachment
|
|
ModifyOpsTest.java
[ 12335138
]
|
made changes - 30/Jul/06 12:47 AM
|
Assignee
|
|
Emmanuel Lecharny
[ elecharny
]
|
made changes - 30/Jul/06 12:47 AM
|
Status
|
Open
[ 1
]
|
In Progress
[ 3
]
|
made changes - 30/Jul/06 03:12 PM
|
Status
|
In Progress
[ 3
]
|
Resolved
[ 5
]
|
|
Resolution
|
|
Fixed
[ 1
]
|
made changes - 02/Oct/06 01:04 PM
|
Status
|
Resolved
[ 5
]
|
Closed
[ 6
]
|
|