[jboss-jira] [JBoss JIRA] (WFLY-11651) Add method parameter check in jaxrs apps

Marek Kopecký (Jira) issues at jboss.org
Mon Feb 4 04:15:01 EST 2019


     [ https://issues.jboss.org/browse/WFLY-11651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marek Kopecký updated WFLY-11651:
---------------------------------
    Affects Version/s: 15.0.0.Final


> Add method parameter check in jaxrs apps
> ----------------------------------------
>
>                 Key: WFLY-11651
>                 URL: https://issues.jboss.org/browse/WFLY-11651
>             Project: WildFly
>          Issue Type: Bug
>          Components: REST
>    Affects Versions: 15.0.0.Final, 16.0.0.Beta1
>            Reporter: R Searls
>            Assignee: R Searls
>            Priority: Critical
>         Attachments: RESTEASY-2062.zip
>
>
> The jaxrs 2.1 spec section 3.2 require resource method parameters be checked at deployment time of errors handling @DefaultValue annotations.  This must be added in wfly because
> resteasy is not called until the first client request.
> Testing
> Build and deploy attached app to wildfly.  
> Before code fix deployment should be successful.
> Running app with cmd:  curl "http://localhost:8080/jaxrs-wf/a?param=2"
> should fail.
> After code fix deployment should fail with detailed msg.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)



More information about the jboss-jira mailing list