Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5.2
    • Fix Version/s: 1.5.3
    • Component/s: studio-ldapbrowser
    • Labels:
      None
    • Environment:
      Windows XP Professional SP3, Apache Directory Studio 1.5.2

      Description

      Hi all,

      I was trying to do a CSV export from Directory Studio, but whenever I want to save in "My Documents" I am unable to, with the message "Selected CSV file directory is not writable". This happens with all types of exports whener I try to save to "My Documents" or any other user's "Documents" folder. This does not happen when I select any other directory.

      I did not notice this issue in 1.5.0 on Windows 2000.

      1. DIRSTUDIO-610-2.patch
        8 kB
        Pierre-Arnaud Marcelot
      2. DIRSTUDIO-610.patch
        5 kB
        Pierre-Arnaud Marcelot

        Activity

        Pierre-Arnaud Marcelot made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Hide
        Pierre-Arnaud Marcelot added a comment -

        Version 1.5.3 has been release.
        Let's close this issue.

        Show
        Pierre-Arnaud Marcelot added a comment - Version 1.5.3 has been release. Let's close this issue.
        Pierre-Arnaud Marcelot made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Pierre-Arnaud Marcelot added a comment -
        Show
        Pierre-Arnaud Marcelot added a comment - Fixed at revision 904539. http://svn.apache.org/viewvc?rev=904539&view=rev
        Hide
        Stefan Seelmann added a comment -

        Tested the patch on Windows XP and Ubuntu. Works as expected. It is now possible to write to "My Documents".

        The only poor thing is that when trying to write to a non-writeable directory (e.g. C:\test.ldif or /root/test.ldif) an error dialog pops up when finishing the export wizard. However it doesn't make sense to add Windows-specific checks. So +1 for the patch.

        Show
        Stefan Seelmann added a comment - Tested the patch on Windows XP and Ubuntu. Works as expected. It is now possible to write to "My Documents". The only poor thing is that when trying to write to a non-writeable directory (e.g. C:\test.ldif or /root/test.ldif) an error dialog pops up when finishing the export wizard. However it doesn't make sense to add Windows-specific checks. So +1 for the patch.
        Pierre-Arnaud Marcelot made changes -
        Attachment DIRSTUDIO-610-2.patch [ 12430133 ]
        Hide
        Pierre-Arnaud Marcelot added a comment -

        New version of the patch, which includes the same fix for the 'Export Connections' wizard.

        Show
        Pierre-Arnaud Marcelot added a comment - New version of the patch, which includes the same fix for the 'Export Connections' wizard.
        Pierre-Arnaud Marcelot made changes -
        Assignee Pierre-Arnaud Marcelot [ pamarcelot ]
        Fix Version/s 1.5.3 [ 12314458 ]
        Pierre-Arnaud Marcelot made changes -
        Field Original Value New Value
        Attachment DIRSTUDIO-610.patch [ 12430027 ]
        Hide
        Pierre-Arnaud Marcelot added a comment -

        Here's a patch that removes the checks on the parent directory.

        Show
        Pierre-Arnaud Marcelot added a comment - Here's a patch that removes the checks on the parent directory.
        Hide
        Pierre-Arnaud Marcelot added a comment -

        I can confirm the issue.

        Actually the error is related to the JVM on Windows XP.

        We're testing if the parent directory of the file is writable or not.

        I've found several threads about this issue:
        http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4939819
        http://markmail.org/message/mrxp7fshq456gvsk

        We can easily fix this bug by removing the checks we're performing on the parent directory.

        As we're already verifying that the file can be written (which probably verifies that on the OS), I think that the checks on the parent directory are not necessary.

        Show
        Pierre-Arnaud Marcelot added a comment - I can confirm the issue. Actually the error is related to the JVM on Windows XP. We're testing if the parent directory of the file is writable or not. I've found several threads about this issue: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4939819 http://markmail.org/message/mrxp7fshq456gvsk We can easily fix this bug by removing the checks we're performing on the parent directory. As we're already verifying that the file can be written (which probably verifies that on the OS), I think that the checks on the parent directory are not necessary.
        Jeremy Tan created issue -

          People

          • Assignee:
            Pierre-Arnaud Marcelot
            Reporter:
            Jeremy Tan
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development