You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org> on 2009/07/23 16:35:15 UTC
[jira] Created: (DIRSTUDIO-505) LDIF Editor should throw an error
when defining an LDIF with changetype=modify and no '-'
LDIF Editor should throw an error when defining an LDIF with changetype=modify and no '-'
-----------------------------------------------------------------------------------------
Key: DIRSTUDIO-505
URL: https://issues.apache.org/jira/browse/DIRSTUDIO-505
Project: Directory Studio
Issue Type: Bug
Components: studio-ldifeditor
Affects Versions: 1.4.0
Reporter: Pierre-Arnaud Marcelot
Priority: Minor
Fix For: 1.5.0
LDIF Editor should throw an error when defining an LDIF with changetype=modify and no '-'
The following LDIF is reported as correct by the LDIF Editor, but it contains no '-' and the end of the first entry.
CF. RFC 2849
##################################
dn: cn=test,dc=example,dc=com
changetype: modify
replace: sn
sn: try
dn: cn=test,dc=example,dc=com
changetype: add
objectClass: person
objectClass: extensibleObject
objectClass: top
sn: test
cn: test
##################################
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (DIRSTUDIO-505) LDIF Editor should throw an error
when defining an LDIF with changetype=modify and no '-'
Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSTUDIO-505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12734619#action_12734619 ]
Pierre-Arnaud Marcelot commented on DIRSTUDIO-505:
--------------------------------------------------
Actually, it's working well with Studio, but it's not working with the import command of the ApacheDS Tools.
What could be interesting is to display maybe a warning instead of an error, indicating that the '-' is missing but a few tools might be ok with that.
> LDIF Editor should throw an error when defining an LDIF with changetype=modify and no '-'
> -----------------------------------------------------------------------------------------
>
> Key: DIRSTUDIO-505
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-505
> Project: Directory Studio
> Issue Type: Bug
> Components: studio-ldifeditor
> Affects Versions: 1.4.0
> Reporter: Pierre-Arnaud Marcelot
> Priority: Minor
> Fix For: 1.5.0
>
>
> LDIF Editor should throw an error when defining an LDIF with changetype=modify and no '-'
> The following LDIF is reported as correct by the LDIF Editor, but it contains no '-' and the end of the first entry.
> CF. RFC 2849
> ##################################
> dn: cn=test,dc=example,dc=com
> changetype: modify
> replace: sn
> sn: try
> dn: cn=test,dc=example,dc=com
> changetype: add
> objectClass: person
> objectClass: extensibleObject
> objectClass: top
> sn: test
> cn: test
> ##################################
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (DIRSTUDIO-505) LDIF Editor should throw an error
when defining an LDIF with changetype=modify and no '-'
Posted by "Stefan Seelmann (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSTUDIO-505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12734618#action_12734618 ]
Stefan Seelmann commented on DIRSTUDIO-505:
-------------------------------------------
Yes, you are right. The LDIF editor is relaxed in that case, it accepts the last change even if the '-' is missing.
The cause is that ldapmodify command and Softerra LDAP Administrator accepts such LDIFs. I saw (hand-written) tools that creates such LDIFs, they then work with ldapmodify but not with Studio. So this bug exists to be compatible to other "buggy" tools ;-)
> LDIF Editor should throw an error when defining an LDIF with changetype=modify and no '-'
> -----------------------------------------------------------------------------------------
>
> Key: DIRSTUDIO-505
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-505
> Project: Directory Studio
> Issue Type: Bug
> Components: studio-ldifeditor
> Affects Versions: 1.4.0
> Reporter: Pierre-Arnaud Marcelot
> Priority: Minor
> Fix For: 1.5.0
>
>
> LDIF Editor should throw an error when defining an LDIF with changetype=modify and no '-'
> The following LDIF is reported as correct by the LDIF Editor, but it contains no '-' and the end of the first entry.
> CF. RFC 2849
> ##################################
> dn: cn=test,dc=example,dc=com
> changetype: modify
> replace: sn
> sn: try
> dn: cn=test,dc=example,dc=com
> changetype: add
> objectClass: person
> objectClass: extensibleObject
> objectClass: top
> sn: test
> cn: test
> ##################################
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (DIRSTUDIO-505) LDIF Editor should throw an error
when defining an LDIF with changetype=modify and no '-'
Posted by "Stefan Seelmann (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSTUDIO-505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Seelmann updated DIRSTUDIO-505:
--------------------------------------
Fix Version/s: (was: 1.5.0)
postponed
> LDIF Editor should throw an error when defining an LDIF with changetype=modify and no '-'
> -----------------------------------------------------------------------------------------
>
> Key: DIRSTUDIO-505
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-505
> Project: Directory Studio
> Issue Type: Bug
> Components: studio-ldifeditor
> Affects Versions: 1.4.0
> Reporter: Pierre-Arnaud Marcelot
> Priority: Minor
>
> LDIF Editor should throw an error when defining an LDIF with changetype=modify and no '-'
> The following LDIF is reported as correct by the LDIF Editor, but it contains no '-' and the end of the first entry.
> CF. RFC 2849
> ##################################
> dn: cn=test,dc=example,dc=com
> changetype: modify
> replace: sn
> sn: try
> dn: cn=test,dc=example,dc=com
> changetype: add
> objectClass: person
> objectClass: extensibleObject
> objectClass: top
> sn: test
> cn: test
> ##################################
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.