]
Radoslav Rábara closed JBIDE-18114.
-----------------------------------
Verified with JBDS 8.0.0 CR1-v20140831-0335-B201
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