Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 97520 invoked from network); 1 Jul 2009 12:19:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Jul 2009 12:19:01 -0000 Received: (qmail 91552 invoked by uid 500); 1 Jul 2009 12:19:11 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 91529 invoked by uid 500); 1 Jul 2009 12:19:11 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 91519 invoked by uid 99); 1 Jul 2009 12:19:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2009 12:19:11 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2009 12:19:08 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E85AB234C046 for ; Wed, 1 Jul 2009 05:18:47 -0700 (PDT) Message-ID: <1404625820.1246450727950.JavaMail.jira@brutus> Date: Wed, 1 Jul 2009 05:18:47 -0700 (PDT) From: "Sergey Beryozkin (JIRA)" To: issues@cxf.apache.org Subject: [jira] Resolved: (CXF-2326) @PathParam cannot be used by subresource if @Path("{...}") is declared by parent resource In-Reply-To: <1494469625.1246412807338.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-2326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Beryozkin resolved CXF-2326. ----------------------------------- Resolution: Fixed Fix Version/s: 2.3 2.2.3 Assignee: Sergey Beryozkin > @PathParam cannot be used by subresource if @Path("{...}") is declared by parent resource > ----------------------------------------------------------------------------------------- > > Key: CXF-2326 > URL: https://issues.apache.org/jira/browse/CXF-2326 > Project: CXF > Issue Type: Bug > Components: REST > Affects Versions: 2.2.2 > Environment: Tomcat 6, Spring, Ubuntu 9.04 > Reporter: Hendy Irawan > Assignee: Sergey Beryozkin > Fix For: 2.2.3, 2.3 > > > The parent resource: > class SessionsResource { > @Path("{id}") > public SessionResource getSessionResource() { > return new SessionResource(); > } > } > The subresource: > class SessionResource { > @GET > public int get(@PathParam("id") String id) { > return id; > } > } > Problem is: SessionResource.get() gets a null 'id' parameter even if we fill it. > The use case above works in JAX-RS RI (Jersey), and is the default resource layout generated by NetBeans 6.7. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.