[jbosstools-issues] [JBoss JIRA] (JBIDE-18114) Invalid state of JAX-RS Web Services node in Project Explorer after JAX-RS Support removal

Xavier Coulon (JIRA) issues at jboss.org
Fri Aug 22 11:17:00 EDT 2014


Xavier Coulon created JBIDE-18114:
-------------------------------------

             Summary: Invalid state of JAX-RS Web Services node in Project Explorer after JAX-RS Support removal
                 Key: JBIDE-18114
                 URL: https://issues.jboss.org/browse/JBIDE-18114
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: webservices
    Affects Versions: 4.2.0.Beta3
            Reporter: Xavier Coulon
            Assignee: Xavier Coulon
             Fix For: 4.2.0.CR1


Steps to reproduce:
- create a dynamic web project targetting JBoss AS 7 or Wildfly
- include the following class in the project sources:

{code}
@Path("/")
public class RestService {
	 
	@GET
	@Path("/{ide}")
	public Response get(@PathParam("ide") String id) {
		System.out.println("Just passed in method");
		return Response.ok().build();
	} 
 }
{code}

The *JAX-RS Web Services* node should be visible once expanded, it should display an endpoint.
- remove the JAX-RS Support on the project

ASSERT: "JAX-RS Web Services" node is removed or at least, is now empty
FAIL: it is still expanded an contains 1 item
- click on "Refresh" on the "JAX-RS Web Services"

ASSERT: the node should now be empty
FAIL: it hangs with a "Loading..." node



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jbosstools-issues mailing list