Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-12595

Disabling JAX-RS validator doesn't affect resources validation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.0.0.Beta1
    • 4.0.0.Alpha1
    • webservices
    • None
    • Hide

      EXEC: Create project with JAX-RS support
      EXEC: Create REST webservice with validation error:

      import javax.ws.rs.GET;
      import javax.ws.rs.Path;
      import javax.ws.rs.PathParam;
      
      public class Test {
      
      	@GET
      	@Path("/{id}")
      	public void testMethod(@PathParam("userid") int id) {
      		
      	}
      }
      

      ASSERT: validation error correctly appears
      EXEC: disable JAX-RS validation in Preferences (JBoss Tools -> JAX-RS -> JAX-RS Validator), press OK
      ASSERT: validation error correctly disappears
      FAIL: validation error is still there also after validation disabling

      Show
      EXEC: Create project with JAX-RS support EXEC: Create REST webservice with validation error: import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.PathParam; public class Test { @GET @Path( "/{id}" ) public void testMethod(@PathParam( "userid" ) int id) { } } ASSERT: validation error correctly appears EXEC: disable JAX-RS validation in Preferences (JBoss Tools -> JAX-RS -> JAX-RS Validator), press OK ASSERT: validation error correctly disappears FAIL: validation error is still there also after validation disabling

    Attachments

      Issue Links

        Activity

          People

            xcoulon@redhat.com Xavier Coulon
            jjankovi Jaroslav Jankovič (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: