[jbosstools-issues] [JBoss JIRA] (JBIDE-12729) JAX-RS validation doesn't work at all

Jaroslav Jankovič (JIRA) jira-events at lists.jboss.org
Wed Sep 26 07:16:35 EDT 2012


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

Jaroslav Jankovič updated JBIDE-12729:
--------------------------------------

    Steps to Reproduce: 
STEP: Create dynamic web project with JAX-RS support
STEP: Create a REST web service:

{code}
public class A {

    @GET
    @Path("/{id}")
    public void method(@PathParam("myid") int id) {
		
    }
	
}
{code}
ASSERT: there is validation error ("myid" should be "id" )
FAIL: there is no validation error at all

  was:
STEP: Create dynamic web project with JAX-RS support
STEP: Create a REST web service:

{code}
public class A {

	@GET
	@Path("/{id}")
	public void method(@PathParam("myid") int id) {
		
	}
	
}
{code}
ASSERT: there is validation error ("myid" should be "id" )
FAIL: there is no validation error at all


    
> JAX-RS validation doesn't work at all
> -------------------------------------
>
>                 Key: JBIDE-12729
>                 URL: https://issues.jboss.org/browse/JBIDE-12729
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Webservices
>    Affects Versions: 4.0.0.Alpha2
>            Reporter: Jaroslav Jankovič
>            Assignee: Brian Fitzpatrick
>            Priority: Critical
>             Fix For: 4.0.0.Alpha2
>
>


--
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



More information about the jbosstools-issues mailing list