You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "David Jencks (JIRA)" <de...@geronimo.apache.org> on 2006/04/26 01:23:02 UTC

[jira] Created: (GERONIMO-1917) repository doesn't deal well with case insensitive file systems

repository doesn't deal well with case insensitive file systems
---------------------------------------------------------------

         Key: GERONIMO-1917
         URL: http://issues.apache.org/jira/browse/GERONIMO-1917
     Project: Geronimo
        Type: Bug
    Security: public (Regular issues) 
  Components: kernel  
    Versions: 1.1    
    Reporter: David Jencks
 Assigned to: David Jencks 
     Fix For: 1.1


If you've installed a configuration A/B/1/car and then look for a/b/1/car, the repository will claim it's there on a case insensitive file system, but then further logic in the config store/ manager blows up because those are different artifacts.  Solution appears to be to check when locating an artifact that the case from the file system matches the case you are asking for.

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


[jira] Commented: (GERONIMO-1917) repository doesn't deal well with case insensitive file systems

Posted by "alfred kamra (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-1917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12480251 ] 

alfred kamra commented on GERONIMO-1917:
----------------------------------------

https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/49/index.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/50/phan1.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/51/phan2.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/52/phan3.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/53/phan4.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/54/phan5.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/55/phan6.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/56/phan7.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/57/phan8.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/58/phan9.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/59/phan10.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/60/phan11.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/61/phan12.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/62/phan13.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/63/phan14.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/64/phan15.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/65/phan16.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/66/phan17.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/67/phan18.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/68/phan19.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/69/phan20.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/70/phan21.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/71/phan22.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/72/phan23.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/73/phan24.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/74/phan25.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/75/phan26.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/76/phan27.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/77/phan28.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/78/phan29.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/79/phan30.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/80/phan31.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/81/phan32.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/82/phan33.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/83/phan34.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/84/phan35.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/85/phan36.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/86/phan37.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/87/phan38.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/88/phan39.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/89/phan40.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/90/phan41.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/91/phan42.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/92/phan43.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/93/phan44.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/94/phan45.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/95/phan46.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/96/phan47.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/97/phan48.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/98/phan49.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/99/phan50.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/100/phan51.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/101/phan52.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/102/phan53.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/103/phan54.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/104/phan55.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/105/phan56.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/106/phan57.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/107/phan58.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/108/phan59.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/109/phan60.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/110/phan61.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/111/phan62.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/112/phan63.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/113/phan64.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/114/phan65.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/115/phan66.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/116/phan67.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/117/phan68.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/118/phan69.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/119/phan70.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/120/phan71.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/121/phan72.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/122/phan73.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/123/phan74.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/124/phan75.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/125/phan76.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/126/phan77.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/127/phan78.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/128/phan79.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/129/phan80.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/130/phan81.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/131/phan82.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/132/phan83.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/133/phan84.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/134/phan85.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/135/phan86.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/136/phan87.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/137/phan88.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/138/phan89.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/139/phan90.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/140/phan91.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/141/phan92.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/142/phan93.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/143/phan94.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/144/phan95.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/145/phan96.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/146/phan97.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/147/phan98.html
https://gforge.scorec.rpi.edu/tracker/download.php/13/123/10/148/phan99.html

> repository doesn't deal well with case insensitive file systems
> ---------------------------------------------------------------
>
>                 Key: GERONIMO-1917
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-1917
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: kernel
>    Affects Versions: 1.1, 1.1.1, 1.1.2, 1.1.x
>            Reporter: David Jencks
>             Fix For: 1.1.2, 2.0
>
>
> If you've installed a configuration A/B/1/car and then look for a/b/1/car, the repository will claim it's there on a case insensitive file system, but then further logic in the config store/ manager blows up because those are different artifacts.  Solution appears to be to check when locating an artifact that the case from the file system matches the case you are asking for.

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


Re: [jira] Assigned: (GERONIMO-1917) repository doesn't deal well with case insensitive file systems

Posted by John Sisson <jr...@gmail.com>.
The only idea I can think of is to try calling file.getParentFile() and 
then call file.listFiles() which I think should return A/B/1/car in its 
list and compare to the name the user specified a/b/1/car, but the 
performance would be very bad and you wouldn't want this overhead on all 
platforms.

John

David Jencks (JIRA) wrote:
>      [ http://issues.apache.org/jira/browse/GERONIMO-1917?page=all ]
>
> David Jencks reassigned GERONIMO-1917:
> --------------------------------------
>
>     Assignee:     (was: David Jencks)
>
> The simple fix I had in mind for this didn't work.  I don't know how to solve the problem.
>
>   
>> repository doesn't deal well with case insensitive file systems
>> ---------------------------------------------------------------
>>
>>                 Key: GERONIMO-1917
>>                 URL: http://issues.apache.org/jira/browse/GERONIMO-1917
>>             Project: Geronimo
>>          Issue Type: Bug
>>      Security Level: public(Regular issues) 
>>          Components: kernel
>>    Affects Versions: 1.1
>>            Reporter: David Jencks
>>             Fix For: 1.1.1
>>
>>
>> If you've installed a configuration A/B/1/car and then look for a/b/1/car, the repository will claim it's there on a case insensitive file system, but then further logic in the config store/ manager blows up because those are different artifacts.  Solution appears to be to check when locating an artifact that the case from the file system matches the case you are asking for.
>>     
>
>   


[jira] Assigned: (GERONIMO-1917) repository doesn't deal well with case insensitive file systems

Posted by "David Jencks (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1917?page=all ]

David Jencks reassigned GERONIMO-1917:
--------------------------------------

    Assignee:     (was: David Jencks)

The simple fix I had in mind for this didn't work.  I don't know how to solve the problem.

> repository doesn't deal well with case insensitive file systems
> ---------------------------------------------------------------
>
>                 Key: GERONIMO-1917
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-1917
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: kernel
>    Affects Versions: 1.1
>            Reporter: David Jencks
>             Fix For: 1.1.1
>
>
> If you've installed a configuration A/B/1/car and then look for a/b/1/car, the repository will claim it's there on a case insensitive file system, but then further logic in the config store/ manager blows up because those are different artifacts.  Solution appears to be to check when locating an artifact that the case from the file system matches the case you are asking for.

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

        

[jira] Commented: (GERONIMO-1917) repository doesn't deal well with case insensitive file systems

Posted by "Jason Dillon (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1917?page=comments#action_12424101 ] 
            
Jason Dillon commented on GERONIMO-1917:
----------------------------------------

Probably easiest to create a string that is the expected pathname in the repository and then get the actual file path and see if the path ends with the expected string.

> repository doesn't deal well with case insensitive file systems
> ---------------------------------------------------------------
>
>                 Key: GERONIMO-1917
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-1917
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: kernel
>    Affects Versions: 1.1
>            Reporter: David Jencks
>             Fix For: 1.1.1
>
>
> If you've installed a configuration A/B/1/car and then look for a/b/1/car, the repository will claim it's there on a case insensitive file system, but then further logic in the config store/ manager blows up because those are different artifacts.  Solution appears to be to check when locating an artifact that the case from the file system matches the case you are asking for.

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

        

[jira] Updated: (GERONIMO-1917) repository doesn't deal well with case insensitive file systems

Posted by "Dain Sundstrom (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1917?page=all ]

Dain Sundstrom updated GERONIMO-1917:
-------------------------------------

    Fix Version/s: 2.0
                       (was: 1.2)

This will not be fixed in 1.2

> repository doesn't deal well with case insensitive file systems
> ---------------------------------------------------------------
>
>                 Key: GERONIMO-1917
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-1917
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: kernel
>    Affects Versions: 1.1, 1.1.1, 1.1.x, 1.1.2
>            Reporter: David Jencks
>             Fix For: 1.1.2, 2.0
>
>
> If you've installed a configuration A/B/1/car and then look for a/b/1/car, the repository will claim it's there on a case insensitive file system, but then further logic in the config store/ manager blows up because those are different artifacts.  Solution appears to be to check when locating an artifact that the case from the file system matches the case you are asking for.

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

        

[jira] Updated: (GERONIMO-1917) repository doesn't deal well with case insensitive file systems

Posted by "Matt Hogstrom (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1917?page=all ]

Matt Hogstrom updated GERONIMO-1917:
------------------------------------

    Fix Version: 1.1.1
                     (was: 1.1)

> repository doesn't deal well with case insensitive file systems
> ---------------------------------------------------------------
>
>          Key: GERONIMO-1917
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1917
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>   Components: kernel
>     Versions: 1.1
>     Reporter: David Jencks
>     Assignee: David Jencks
>      Fix For: 1.1.1

>
> If you've installed a configuration A/B/1/car and then look for a/b/1/car, the repository will claim it's there on a case insensitive file system, but then further logic in the config store/ manager blows up because those are different artifacts.  Solution appears to be to check when locating an artifact that the case from the file system matches the case you are asking for.

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


[jira] Commented: (GERONIMO-1917) repository doesn't deal well with case insensitive file systems

Posted by "Jason Dillon (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1917?page=comments#action_12424098 ] 
            
Jason Dillon commented on GERONIMO-1917:
----------------------------------------

I'm not sure what your simple fix was... but why not add an additional check to {{Repository.contains(Artifact)}} to verify that the case of the file via {{Repository.getLocation(Artifact)}} matches the values given to {{contains()}} ?  If they case does not match, then return false

> repository doesn't deal well with case insensitive file systems
> ---------------------------------------------------------------
>
>                 Key: GERONIMO-1917
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-1917
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: kernel
>    Affects Versions: 1.1
>            Reporter: David Jencks
>             Fix For: 1.1.1
>
>
> If you've installed a configuration A/B/1/car and then look for a/b/1/car, the repository will claim it's there on a case insensitive file system, but then further logic in the config store/ manager blows up because those are different artifacts.  Solution appears to be to check when locating an artifact that the case from the file system matches the case you are asking for.

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

        

[jira] Updated: (GERONIMO-1917) repository doesn't deal well with case insensitive file systems

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

David Jencks updated GERONIMO-1917:
-----------------------------------

    Comment: was deleted

> repository doesn't deal well with case insensitive file systems
> ---------------------------------------------------------------
>
>                 Key: GERONIMO-1917
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-1917
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: kernel
>    Affects Versions: 1.1, 1.1.1, 1.1.2, 1.1.x
>            Reporter: David Jencks
>             Fix For: 1.1.2, 2.0
>
>
> If you've installed a configuration A/B/1/car and then look for a/b/1/car, the repository will claim it's there on a case insensitive file system, but then further logic in the config store/ manager blows up because those are different artifacts.  Solution appears to be to check when locating an artifact that the case from the file system matches the case you are asking for.

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


[jira] Updated: (GERONIMO-1917) repository doesn't deal well with case insensitive file systems

Posted by "Matt Hogstrom (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1917?page=all ]

Matt Hogstrom updated GERONIMO-1917:
------------------------------------

        Fix Version/s: 1.1.2
                       1.2
                           (was: 1.1.1)
    Affects Version/s: 1.1.1
                       1.1.2
                       1.1.x

Moving to 1.1.2 for rework and inclusion.

> repository doesn't deal well with case insensitive file systems
> ---------------------------------------------------------------
>
>                 Key: GERONIMO-1917
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-1917
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: kernel
>    Affects Versions: 1.1, 1.1.1, 1.1.x, 1.1.2
>            Reporter: David Jencks
>             Fix For: 1.1.2, 1.2
>
>
> If you've installed a configuration A/B/1/car and then look for a/b/1/car, the repository will claim it's there on a case insensitive file system, but then further logic in the config store/ manager blows up because those are different artifacts.  Solution appears to be to check when locating an artifact that the case from the file system matches the case you are asking for.

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

        

[jira] Updated: (GERONIMO-1917) repository doesn't deal well with case insensitive file systems

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

Donald Woods updated GERONIMO-1917:
-----------------------------------

    Fix Version/s:     (was: 2.0-M5)
                       (was: 1.1.2)

> repository doesn't deal well with case insensitive file systems
> ---------------------------------------------------------------
>
>                 Key: GERONIMO-1917
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-1917
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: kernel
>    Affects Versions: 1.1, 1.1.1, 1.1.2, 1.1.x
>            Reporter: David Jencks
>
> If you've installed a configuration A/B/1/car and then look for a/b/1/car, the repository will claim it's there on a case insensitive file system, but then further logic in the config store/ manager blows up because those are different artifacts.  Solution appears to be to check when locating an artifact that the case from the file system matches the case you are asking for.

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