You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Jan Sýkora (JIRA)" <ji...@apache.org> on 2008/10/31 13:31:45 UTC

[jira] Created: (WICKET-1908) ResourceNameIterator problem with files with undescore in name

ResourceNameIterator problem with files with undescore in name
--------------------------------------------------------------

                 Key: WICKET-1908
                 URL: https://issues.apache.org/jira/browse/WICKET-1908
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.3.5
         Environment: JDK 1.6.0_10, Windows
            Reporter: Jan Sýkora


when the page HTML file is located on the path, that contains _to_ in name (and to is not ment as a locale), (ResourceNameIterator:103) matches this position, (ResourceNameIterator:115) founds it, the path is shortened (ResourceNameIterator:153) and the whole process results in the HTML resource not being found.

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


[jira] Commented: (WICKET-1908) ResourceNameIterator problem with files with undescore in name

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-1908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12644653#action_12644653 ] 

Igor Vaynberg commented on WICKET-1908:
---------------------------------------

well, im going to bet it is was broken by WICKET-1868. if you have any ideas on how to fix it while still supporting WICKET-1868 im all ears.

> ResourceNameIterator problem with files with undescore in name
> --------------------------------------------------------------
>
>                 Key: WICKET-1908
>                 URL: https://issues.apache.org/jira/browse/WICKET-1908
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.5
>         Environment: JDK 1.6.0_10, Windows
>            Reporter: Jan Sýkora
>            Assignee: Igor Vaynberg
>         Attachments: WICKET-1908-test.zip
>
>
> when the page HTML file is located on the path, that contains _to_ in name (and to is not ment as a locale), (ResourceNameIterator:103) matches this position, (ResourceNameIterator:115) founds it, the path is shortened (ResourceNameIterator:153) and the whole process results in the HTML resource not being found.

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


[jira] Updated: (WICKET-1908) ResourceNameIterator problem with files with undescore in name

Posted by "Jan Sýkora (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-1908?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Sýkora updated WICKET-1908:
-------------------------------

    Attachment: WICKET-1908-test.zip

example of application that doesn't work because of the issue

> ResourceNameIterator problem with files with undescore in name
> --------------------------------------------------------------
>
>                 Key: WICKET-1908
>                 URL: https://issues.apache.org/jira/browse/WICKET-1908
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.5
>         Environment: JDK 1.6.0_10, Windows
>            Reporter: Jan Sýkora
>         Attachments: WICKET-1908-test.zip
>
>
> when the page HTML file is located on the path, that contains _to_ in name (and to is not ment as a locale), (ResourceNameIterator:103) matches this position, (ResourceNameIterator:115) founds it, the path is shortened (ResourceNameIterator:153) and the whole process results in the HTML resource not being found.

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


[jira] Commented: (WICKET-1908) ResourceNameIterator problem with files with undescore in name

Posted by "Jan Sýkora (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-1908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12644647#action_12644647 ] 

Jan Sýkora commented on WICKET-1908:
------------------------------------

I don't have problem with _ being separator. I guess that as _ is allowed in classname, there shouldn't be any 'is not supposed to' thing. My problem is that when there is _to_ somewhere in classname or path, the 'no modified' path and classname is not checked.. eg. the _to_ is treated as locale without any doubts..
btw. I found out, that it has worked in wicket 1.3.4

> ResourceNameIterator problem with files with undescore in name
> --------------------------------------------------------------
>
>                 Key: WICKET-1908
>                 URL: https://issues.apache.org/jira/browse/WICKET-1908
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.5
>         Environment: JDK 1.6.0_10, Windows
>            Reporter: Jan Sýkora
>            Assignee: Igor Vaynberg
>         Attachments: WICKET-1908-test.zip
>
>
> when the page HTML file is located on the path, that contains _to_ in name (and to is not ment as a locale), (ResourceNameIterator:103) matches this position, (ResourceNameIterator:115) founds it, the path is shortened (ResourceNameIterator:153) and the whole process results in the HTML resource not being found.

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


[jira] Assigned: (WICKET-1908) ResourceNameIterator problem with files with undescore in name

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

Igor Vaynberg reassigned WICKET-1908:
-------------------------------------

    Assignee: Eelco Hillenius  (was: Igor Vaynberg)

> ResourceNameIterator problem with files with undescore in name
> --------------------------------------------------------------
>
>                 Key: WICKET-1908
>                 URL: https://issues.apache.org/jira/browse/WICKET-1908
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.5
>         Environment: JDK 1.6.0_10, Windows
>            Reporter: Jan Sýkora
>            Assignee: Eelco Hillenius
>         Attachments: WICKET-1908-test.zip
>
>
> when the page HTML file is located on the path, that contains _to_ in name (and to is not ment as a locale), (ResourceNameIterator:103) matches this position, (ResourceNameIterator:115) founds it, the path is shortened (ResourceNameIterator:153) and the whole process results in the HTML resource not being found.

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


[jira] Reopened: (WICKET-1908) ResourceNameIterator problem with files with undescore in name

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

Igor Vaynberg reopened WICKET-1908:
-----------------------------------


> ResourceNameIterator problem with files with undescore in name
> --------------------------------------------------------------
>
>                 Key: WICKET-1908
>                 URL: https://issues.apache.org/jira/browse/WICKET-1908
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.5
>         Environment: JDK 1.6.0_10, Windows
>            Reporter: Jan Sýkora
>            Assignee: Eelco Hillenius
>         Attachments: WICKET-1908-test.zip
>
>
> when the page HTML file is located on the path, that contains _to_ in name (and to is not ment as a locale), (ResourceNameIterator:103) matches this position, (ResourceNameIterator:115) founds it, the path is shortened (ResourceNameIterator:153) and the whole process results in the HTML resource not being found.

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


[jira] Resolved: (WICKET-1908) ResourceNameIterator problem with files with undescore in name

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

Juergen Donnerstag resolved WICKET-1908.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4-RC2
         Assignee: Juergen Donnerstag  (was: Eelco Hillenius)

made identification of language, country and variation more strict but still compliant  (see http://java.sun.com/j2se/1.4.2/docs/api/java/util/Locale.html for more details)

> ResourceNameIterator problem with files with undescore in name
> --------------------------------------------------------------
>
>                 Key: WICKET-1908
>                 URL: https://issues.apache.org/jira/browse/WICKET-1908
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.5
>         Environment: JDK 1.6.0_10, Windows
>            Reporter: Jan Sýkora
>            Assignee: Juergen Donnerstag
>             Fix For: 1.4-RC2
>
>         Attachments: WICKET-1908-test.zip
>
>
> when the page HTML file is located on the path, that contains _to_ in name (and to is not ment as a locale), (ResourceNameIterator:103) matches this position, (ResourceNameIterator:115) founds it, the path is shortened (ResourceNameIterator:153) and the whole process results in the HTML resource not being found.

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


[jira] Resolved: (WICKET-1908) ResourceNameIterator problem with files with undescore in name

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

Igor Vaynberg resolved WICKET-1908.
-----------------------------------

    Resolution: Won't Fix
      Assignee: Igor Vaynberg

_ is really the only separator we can safely use on any filesystem for separators, and because it is not supposed to be used in classnames i dont think there is anything wrong with that. may i ask why you are using it in your class names?

> ResourceNameIterator problem with files with undescore in name
> --------------------------------------------------------------
>
>                 Key: WICKET-1908
>                 URL: https://issues.apache.org/jira/browse/WICKET-1908
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.5
>         Environment: JDK 1.6.0_10, Windows
>            Reporter: Jan Sýkora
>            Assignee: Igor Vaynberg
>         Attachments: WICKET-1908-test.zip
>
>
> when the page HTML file is located on the path, that contains _to_ in name (and to is not ment as a locale), (ResourceNameIterator:103) matches this position, (ResourceNameIterator:115) founds it, the path is shortened (ResourceNameIterator:153) and the whole process results in the HTML resource not being found.

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