You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/03/05 15:24:38 UTC
[jira] [Commented] (CXF-6276) Some non-primitive properties lost
during generating WADL
[ https://issues.apache.org/jira/browse/CXF-6276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14348771#comment-14348771 ]
ASF GitHub Bot commented on CXF-6276:
-------------------------------------
GitHub user pqian opened a pull request:
https://github.com/apache/cxf/pull/56
CXF-6276: Some non-primitive properties lost during generating WADL
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/pqian/cxf 3.0.x-fixes
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cxf/pull/56.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #56
----
commit a53cb5769aecf988d239f81784c73ff57abe150e
Author: pqian <pe...@gmail.com>
Date: 2015-03-05T14:18:17Z
CXF-6276: Some non-primitive properties lost during generating WADL
----
> Some non-primitive properties lost during generating WADL
> ---------------------------------------------------------
>
> Key: CXF-6276
> URL: https://issues.apache.org/jira/browse/CXF-6276
> Project: CXF
> Issue Type: Bug
> Components: JAX-RS
> Affects Versions: 3.0.4, 2.7.15
> Reporter: Pengling Qian
> Labels: wadl-generation
> Fix For: 3.1.0, 2.7.16
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> There are 2 classes:
> Team {
> String teamName;
> Person manager;
> Person member;
> }
> Person {
> String firstName;
> String lastName;
> }
> if Team is an object annotated with @FormParam("") in a POST service method, then the generated WADL seems like the following:
> <representation mediaType="application/x-www-form-urlencoded">
> <param name="teamName" style="query" type="xs:string"/>
> <param name="manager.firstName" style="query" type="xs:string"/>
> <param name="manager.lastName" style="query" type="xs:string"/>
> </representation>
> as you saw, "member" get lose. Sometimes the lost is "manager".
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)