[
https://issues.apache.org/jira/browse/CXF-1976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergey Beryozkin resolved CXF-1976.
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.2
2.1.4
PathParam, QueryParam, MatrixParam exceptions will result in 404
HeaderParam, CookieParam, FormParam exceptions will result in 400
If a given type has no constructor with single String or valueOf (String) or
fromString(String) or no ParameterHandler can be found then 500 will be reported
> WebApplicationException not thrown when injection of fields with *Param
> annotations fail
> ----------------------------------------------------------------------------------------
>
> Key: CXF-1976
> URL: https://issues.apache.org/jira/browse/CXF-1976
> Project: CXF
> Issue Type: Bug
> Components: REST
> Affects Versions: 2.2
> Reporter: Chaitanya Choleti
> Assignee: Sergey Beryozkin
> Fix For: 2.1.4, 2.2
>
> Attachments: sources.zip
>
>
> When there is any exception during injection of fields with QueryParam,
> PathParam, HeaderParam or CookieParam annotations, a WebApplicationException
> should be thrown with the proper response status code set. Instead, we see a
> null value for the field and no exception thrown.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.