You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wink.apache.org by "Mike Rheinheimer (JIRA)" <ji...@apache.org> on 2009/10/12 21:36:31 UTC

[jira] Created: (WINK-217) runtime should tolerate @Path("") and @Path("/")

runtime should tolerate @Path("") and @Path("/")
------------------------------------------------

                 Key: WINK-217
                 URL: https://issues.apache.org/jira/browse/WINK-217
             Project: Wink
          Issue Type: Bug
            Reporter: Mike Rheinheimer


Currently, we get an IndexOutOfBoundsException due to miscalculation of the path offset passed into UriTemplateMatcher.buildVariablesPathSegments

Please see patch and fix.

Original report came through the wink user list here:  http://mail-archives.apache.org/mod_mbox/incubator-wink-user/200910.mbox/%3C54E8BE02CCDA404A8D6FB4538A32DA905E5A414118@GVW1120EXC.americas.hpqcorp.net%3E

Possibly a 1.0 fix... though it's very late to be accepting a patch in such a critical code path.  I'm ok with postponing this.

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


[jira] Assigned: (WINK-217) runtime should tolerate @Path("") and @Path("/")

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

Bryant Luk reassigned WINK-217:
-------------------------------

    Assignee: Bryant Luk

> runtime should tolerate @Path("") and @Path("/")
> ------------------------------------------------
>
>                 Key: WINK-217
>                 URL: https://issues.apache.org/jira/browse/WINK-217
>             Project: Wink
>          Issue Type: Bug
>            Reporter: Mike Rheinheimer
>            Assignee: Bryant Luk
>             Fix For: 0.2
>
>         Attachments: WINK_217.patch
>
>
> Currently, we get an IndexOutOfBoundsException due to miscalculation of the path offset passed into UriTemplateMatcher.buildVariablesPathSegments
> Please see patch and fix.
> Original report came through the wink user list here:  http://mail-archives.apache.org/mod_mbox/incubator-wink-user/200910.mbox/%3C54E8BE02CCDA404A8D6FB4538A32DA905E5A414118@GVW1120EXC.americas.hpqcorp.net%3E
> Possibly a 1.0 fix... though it's very late to be accepting a patch in such a critical code path.  I'm ok with postponing this.

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


[jira] Resolved: (WINK-217) runtime should tolerate @Path("") and @Path("/")

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

Bryant Luk resolved WINK-217.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 0.2

This should have been fixed in trunk and picked up in the 1.0 release candidates.  Should also be in the 0.2 builds.

> runtime should tolerate @Path("") and @Path("/")
> ------------------------------------------------
>
>                 Key: WINK-217
>                 URL: https://issues.apache.org/jira/browse/WINK-217
>             Project: Wink
>          Issue Type: Bug
>            Reporter: Mike Rheinheimer
>            Assignee: Bryant Luk
>             Fix For: 0.2
>
>         Attachments: WINK_217.patch
>
>
> Currently, we get an IndexOutOfBoundsException due to miscalculation of the path offset passed into UriTemplateMatcher.buildVariablesPathSegments
> Please see patch and fix.
> Original report came through the wink user list here:  http://mail-archives.apache.org/mod_mbox/incubator-wink-user/200910.mbox/%3C54E8BE02CCDA404A8D6FB4538A32DA905E5A414118@GVW1120EXC.americas.hpqcorp.net%3E
> Possibly a 1.0 fix... though it's very late to be accepting a patch in such a critical code path.  I'm ok with postponing this.

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


[jira] Commented: (WINK-217) runtime should tolerate @Path("") and @Path("/")

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WINK-217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12764878#action_12764878 ] 

Hudson commented on WINK-217:
-----------------------------

Integrated in Wink-Trunk-JDK1.5 #215 (See [http://hudson.zones.apache.org/hudson/job/Wink-Trunk-JDK1.5/215/])
    Fix empty path annotation issue

See []

Thanks Mike Rheinheimer for the fix
and Jaroslav Libak for reporting the
issue.


> runtime should tolerate @Path("") and @Path("/")
> ------------------------------------------------
>
>                 Key: WINK-217
>                 URL: https://issues.apache.org/jira/browse/WINK-217
>             Project: Wink
>          Issue Type: Bug
>            Reporter: Mike Rheinheimer
>         Attachments: WINK_217.patch
>
>
> Currently, we get an IndexOutOfBoundsException due to miscalculation of the path offset passed into UriTemplateMatcher.buildVariablesPathSegments
> Please see patch and fix.
> Original report came through the wink user list here:  http://mail-archives.apache.org/mod_mbox/incubator-wink-user/200910.mbox/%3C54E8BE02CCDA404A8D6FB4538A32DA905E5A414118@GVW1120EXC.americas.hpqcorp.net%3E
> Possibly a 1.0 fix... though it's very late to be accepting a patch in such a critical code path.  I'm ok with postponing this.

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


[jira] Updated: (WINK-217) runtime should tolerate @Path("") and @Path("/")

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

Mike Rheinheimer updated WINK-217:
----------------------------------

    Attachment: WINK_217.patch

> runtime should tolerate @Path("") and @Path("/")
> ------------------------------------------------
>
>                 Key: WINK-217
>                 URL: https://issues.apache.org/jira/browse/WINK-217
>             Project: Wink
>          Issue Type: Bug
>            Reporter: Mike Rheinheimer
>         Attachments: WINK_217.patch
>
>
> Currently, we get an IndexOutOfBoundsException due to miscalculation of the path offset passed into UriTemplateMatcher.buildVariablesPathSegments
> Please see patch and fix.
> Original report came through the wink user list here:  http://mail-archives.apache.org/mod_mbox/incubator-wink-user/200910.mbox/%3C54E8BE02CCDA404A8D6FB4538A32DA905E5A414118@GVW1120EXC.americas.hpqcorp.net%3E
> Possibly a 1.0 fix... though it's very late to be accepting a patch in such a critical code path.  I'm ok with postponing this.

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


[jira] Closed: (WINK-217) runtime should tolerate @Path("") and @Path("/")

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

Mike Rheinheimer closed WINK-217.
---------------------------------


> runtime should tolerate @Path("") and @Path("/")
> ------------------------------------------------
>
>                 Key: WINK-217
>                 URL: https://issues.apache.org/jira/browse/WINK-217
>             Project: Wink
>          Issue Type: Bug
>            Reporter: Mike Rheinheimer
>            Assignee: Bryant Luk
>             Fix For: 1.0
>
>         Attachments: WINK_217.patch
>
>
> Currently, we get an IndexOutOfBoundsException due to miscalculation of the path offset passed into UriTemplateMatcher.buildVariablesPathSegments
> Please see patch and fix.
> Original report came through the wink user list here:  http://mail-archives.apache.org/mod_mbox/incubator-wink-user/200910.mbox/%3C54E8BE02CCDA404A8D6FB4538A32DA905E5A414118@GVW1120EXC.americas.hpqcorp.net%3E
> Possibly a 1.0 fix... though it's very late to be accepting a patch in such a critical code path.  I'm ok with postponing this.

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