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] [Resolved] (CXF-4914) ResponseBuilderImpl returns null on link() and links()
Date Mon, 25 Mar 2013 19:05:16 GMT

     [ https://issues.apache.org/jira/browse/CXF-4914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sergey Beryozkin resolved CXF-4914.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.8.0
         Assignee: Sergey Beryozkin

Stian, thanks for the quality patch. I've merged it to the trunk & 2.7.x, note though,
in 2.7.x we have no CXF LinkBuilder, and m10 Link.Builder (was shipped as part of API) has
no commas, so you'd have no '<page>;rel=\"next\"' but '<page>;rel=next' in 2.7.x
  
                
> ResponseBuilderImpl returns null on link() and links()
> ------------------------------------------------------
>
>                 Key: CXF-4914
>                 URL: https://issues.apache.org/jira/browse/CXF-4914
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 2.7.3
>            Reporter: Stian Soiland-Reyes
>            Assignee: Sergey Beryozkin
>            Priority: Minor
>              Labels: jax-rs, link, response
>             Fix For: 2.8.0, 2.7.4
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> The link() and links() methods (and others) are unimplemented in ResponseBuilderImpl.
> Rather than raise a NotImplementedException or similar, the current code seems to be
autogenerated by Eclipse and returns null rather than a Builder.
> I've suggested a patch at https://github.com/apache/cxf/pull/5 from https://github.com/stain/cxf/tree/jaxrs-responsebuilder-nulls
which implements each of the missing methods. Unit tests are included.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message