cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-7527) JAXRS UriInfo.getMatchedUris does return matched URIs twice for sub resources
Date Tue, 17 Oct 2017 15:53:00 GMT

    [ https://issues.apache.org/jira/browse/CXF-7527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16207825#comment-16207825
] 

Sergey Beryozkin commented on CXF-7527:
---------------------------------------

By the way I was referring to BarResource.getBar() in the UriInfo.getMatchedUris, which has
no .getSub() method, so perhaps both of us got confused, as I was not referring to BarResource.getSub(),
but, rather, to BarResource.getBar() having @Path("sub")

> JAXRS UriInfo.getMatchedUris does return matched URIs twice for sub resources
> -----------------------------------------------------------------------------
>
>                 Key: CXF-7527
>                 URL: https://issues.apache.org/jira/browse/CXF-7527
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 3.1.12
>            Reporter: Lenoire
>         Attachments: uriinfo-issues.jar
>
>
> Invoking method {{UriInfo.getMatchedURIs()}} return matched resource URI twice when invoked
from SubResource method.
> See attachment for a junit test reproducing the issue (=> {{testMatchedUrisFromSubResource()}})




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message