[
https://issues.apache.org/jira/browse/DIRSTUDIO-468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12677823#action_12677823
]
Emmanuel Lecharny commented on DIRSTUDIO-468:
---------------------------------------------
Rearding the order, we may be less strict.
The empty modification should be accepted. The server won't do anything. This
is a direct consequence of what RFC 4511 says about Modify operation :
"A replace with no value will delete the entire attribute if it exists, and it
is ignored if the attribute does not exist."
When the server received a ModifyRequest with a replace without values for a
non existing attribute, the attribute is removed from the request. If we don't
have any remaining attribute, the server does nothing.
A very special corner case, IMO...
> The LDIF parser does not correctly parse changes
> ------------------------------------------------
>
> Key: DIRSTUDIO-468
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-468
> Project: Directory Studio
> Issue Type: Bug
> Affects Versions: 1.3.0
> Reporter: Emmanuel Lecharny
> Priority: Minor
> Fix For: 1.4.0
>
>
> Trying to parse such a LDIF :
> # principal: 0.9.2342.19200300.100.1.1=admin,2.5.4.11=system
> # timestamp: 1235905921781
> # revision: 1235905920724
> dn: 2.5.4.3=the person,2.5.4.11=system
> changeType: modify
> add: objectclass
> objectclass: organizationalPerson
> objectclass: inetOrgPerson
> -
> you get an error message, as the last '-' is considered as a wrong token
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.