You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Jürgen Weber (JIRA)" <ji...@apache.org> on 2009/04/23 10:15:47 UTC

[jira] Created: (DIRSTUDIO-486) Include Version Specifier in LDIF export

Include Version Specifier in LDIF export
----------------------------------------

                 Key: DIRSTUDIO-486
                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-486
             Project: Directory Studio
          Issue Type: Bug
    Affects Versions: 1.4.0
            Reporter: Jürgen Weber


Studio does not include a Version Specifier ("version: 1") in the generated LDIF export
(see http://www.novell.com/coolsolutions/feature/5997.html   -> LDIF Content Records)

E.g. the Novell LDAP classes for Java will not accept an LDIF that does not contain the Version Specifier.

Perhaps Studio could make this optional, e.g. by a setting on the Text formats preferences page:
[x] add Version Specifier 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (DIRSTUDIO-486) Include Version Specifier in LDIF export

Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSTUDIO-486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre-Arnaud Marcelot closed DIRSTUDIO-486.
--------------------------------------------


Apache Directory studio version 1.5.0 has been released.

> Include Version Specifier in LDIF export
> ----------------------------------------
>
>                 Key: DIRSTUDIO-486
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-486
>             Project: Directory Studio
>          Issue Type: Bug
>          Components: studio-ldapbrowser
>    Affects Versions: 1.4.0
>            Reporter: Jürgen Weber
>            Assignee: Stefan Seelmann
>             Fix For: 1.5.0
>
>
> Studio does not include a Version Specifier ("version: 1") in the generated LDIF export
> (see http://www.novell.com/coolsolutions/feature/5997.html   -> LDIF Content Records)
> E.g. the Novell LDAP classes for Java will not accept an LDIF that does not contain the Version Specifier.
> Perhaps Studio could make this optional, e.g. by a setting on the Text formats preferences page:
> [x] add Version Specifier 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRSTUDIO-486) Include Version Specifier in LDIF export

Posted by "Stefan Seelmann (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSTUDIO-486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12702672#action_12702672 ] 

Stefan Seelmann commented on DIRSTUDIO-486:
-------------------------------------------

Hi Jürgen,

you are totally right, the version spec is required at the beginning of an LDIF file, so it should always be added.

What I meant with "no sense" was the following:
- If you right-click on an entry and select Advanced->Copy Entry as LDIF only one LDIF record is copied. I use this quite often to extract some sample data from a directory to an LDIF file. I copy one entry and paste it into an LDIF file, then the second and the third and so on. In that case I don't want the version spec on top of each LDIF record.
- The modification logs is a rolling log file. On each modification another LDIF fragment is added to the log. So I think in that case it makes no sense to add the version spec in front of each LDIF fragment.

So IMHO the version spec should be added when producing complete LDIF files, but not for LDIF fragments.


> Include Version Specifier in LDIF export
> ----------------------------------------
>
>                 Key: DIRSTUDIO-486
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-486
>             Project: Directory Studio
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>            Reporter: Jürgen Weber
>            Assignee: Stefan Seelmann
>             Fix For: 1.5.0
>
>
> Studio does not include a Version Specifier ("version: 1") in the generated LDIF export
> (see http://www.novell.com/coolsolutions/feature/5997.html   -> LDIF Content Records)
> E.g. the Novell LDAP classes for Java will not accept an LDIF that does not contain the Version Specifier.
> Perhaps Studio could make this optional, e.g. by a setting on the Text formats preferences page:
> [x] add Version Specifier 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (DIRSTUDIO-486) Include Version Specifier in LDIF export

Posted by "Stefan Seelmann (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSTUDIO-486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Seelmann resolved DIRSTUDIO-486.
---------------------------------------

    Resolution: Fixed

I just implemented a simple fix, the version spec is always added in LDIF export.

Fixed in trunk:
  http://svn.apache.org/viewvc?rev=772403&view=rev


> Include Version Specifier in LDIF export
> ----------------------------------------
>
>                 Key: DIRSTUDIO-486
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-486
>             Project: Directory Studio
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>            Reporter: Jürgen Weber
>            Assignee: Stefan Seelmann
>             Fix For: 1.5.0
>
>
> Studio does not include a Version Specifier ("version: 1") in the generated LDIF export
> (see http://www.novell.com/coolsolutions/feature/5997.html   -> LDIF Content Records)
> E.g. the Novell LDAP classes for Java will not accept an LDIF that does not contain the Version Specifier.
> Perhaps Studio could make this optional, e.g. by a setting on the Text formats preferences page:
> [x] add Version Specifier 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRSTUDIO-486) Include Version Specifier in LDIF export

Posted by "Jürgen Weber (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSTUDIO-486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12702264#action_12702264 ] 

Jürgen Weber commented on DIRSTUDIO-486:
----------------------------------------

Hi Stefan,

RFC 2849 requires a version-spec (http://www.ietf.org/rfc/rfc2849.txt), so I think it should always be included. 
And it might puzzle users if print output is different to export output.

Contrary to what I wrote earlier, I am not sure if there should a checkbox at all, as the RFC requires the version spec.

Or maybe there should be a checkbox for *not* having the version spec
[ ] Omit Version Specification

> Include Version Specifier in LDIF export
> ----------------------------------------
>
>                 Key: DIRSTUDIO-486
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-486
>             Project: Directory Studio
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>            Reporter: Jürgen Weber
>            Assignee: Stefan Seelmann
>             Fix For: 1.5.0
>
>
> Studio does not include a Version Specifier ("version: 1") in the generated LDIF export
> (see http://www.novell.com/coolsolutions/feature/5997.html   -> LDIF Content Records)
> E.g. the Novell LDAP classes for Java will not accept an LDIF that does not contain the Version Specifier.
> Perhaps Studio could make this optional, e.g. by a setting on the Text formats preferences page:
> [x] add Version Specifier 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DIRSTUDIO-486) Include Version Specifier in LDIF export

Posted by "Stefan Seelmann (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSTUDIO-486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Seelmann updated DIRSTUDIO-486:
--------------------------------------

    Fix Version/s: 1.5.0
         Assignee: Stefan Seelmann

Thanks Jürgen for the report.

I would suggest to add this setting to the export wizard's 2nd page. I think this setting is only valid for the LDIF export. When copying an entry as LDIF or when printing the modification logs this setting makes no sense. Or do I miss something?


> Include Version Specifier in LDIF export
> ----------------------------------------
>
>                 Key: DIRSTUDIO-486
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-486
>             Project: Directory Studio
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>            Reporter: Jürgen Weber
>            Assignee: Stefan Seelmann
>             Fix For: 1.5.0
>
>
> Studio does not include a Version Specifier ("version: 1") in the generated LDIF export
> (see http://www.novell.com/coolsolutions/feature/5997.html   -> LDIF Content Records)
> E.g. the Novell LDAP classes for Java will not accept an LDIF that does not contain the Version Specifier.
> Perhaps Studio could make this optional, e.g. by a setting on the Text formats preferences page:
> [x] add Version Specifier 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DIRSTUDIO-486) Include Version Specifier in LDIF export

Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSTUDIO-486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre-Arnaud Marcelot updated DIRSTUDIO-486:
---------------------------------------------

    Component/s: studio-ldapbrowser

> Include Version Specifier in LDIF export
> ----------------------------------------
>
>                 Key: DIRSTUDIO-486
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-486
>             Project: Directory Studio
>          Issue Type: Bug
>          Components: studio-ldapbrowser
>    Affects Versions: 1.4.0
>            Reporter: Jürgen Weber
>            Assignee: Stefan Seelmann
>             Fix For: 1.5.0
>
>
> Studio does not include a Version Specifier ("version: 1") in the generated LDIF export
> (see http://www.novell.com/coolsolutions/feature/5997.html   -> LDIF Content Records)
> E.g. the Novell LDAP classes for Java will not accept an LDIF that does not contain the Version Specifier.
> Perhaps Studio could make this optional, e.g. by a setting on the Text formats preferences page:
> [x] add Version Specifier 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.