You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2008/09/03 20:28:48 UTC

[jira] Created: (MSHARED-57) FileSetManager.isSymlink() produces false negatives

FileSetManager.isSymlink() produces false negatives
---------------------------------------------------

                 Key: MSHARED-57
                 URL: http://jira.codehaus.org/browse/MSHARED-57
             Project: Maven Shared Components
          Issue Type: Bug
          Components: file-management
    Affects Versions: file-management 1.2
            Reporter: Benjamin Bentmann


Given this directory structure:
{noformat}
./
  dir/
    subdir/
  subdir/  -> dir/subdir/
{noformat}
{{isSymlink("./subdir")}} erroneously returns false because its logic does not properly handle links to sub directories of the link's parent directory.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (MSHARED-57) FileSetManager.isSymlink() produces false negatives

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MSHARED-57?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann closed MSHARED-57.
------------------------------------

         Assignee: Benjamin Bentmann
       Resolution: Fixed
    Fix Version/s: file-management 1.2.1

Fixed in [r691718|http://svn.apache.org/viewvc?view=rev&revision=691718].

> FileSetManager.isSymlink() produces false negatives
> ---------------------------------------------------
>
>                 Key: MSHARED-57
>                 URL: http://jira.codehaus.org/browse/MSHARED-57
>             Project: Maven Shared Components
>          Issue Type: Bug
>          Components: file-management
>    Affects Versions: file-management 1.2
>            Reporter: Benjamin Bentmann
>            Assignee: Benjamin Bentmann
>             Fix For: file-management 1.2.1
>
>
> Given this directory structure:
> {noformat}
> ./
>   dir/
>     subdir/
>   subdir/  -> dir/subdir/
> {noformat}
> {{isSymlink("./subdir")}} erroneously returns false because its logic does not properly handle links to sub directories of the link's parent directory.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira