[
https://issues.jboss.org/browse/JBIDE-15599?page=com.atlassian.jira.plugi...
]
Xavier Coulon resolved JBIDE-15599.
-----------------------------------
Fix Version/s: 4.2.0.CR1
(was: 4.2.x)
Resolution: Done
Cannot reproduce the problem, it was resolved in a previous fix or enhancement.
Changes on a subresource locator fields are not propagated to the
JAX-RS Explorer
---------------------------------------------------------------------------------
Key: JBIDE-15599
URL:
https://issues.jboss.org/browse/JBIDE-15599
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: webservices
Affects Versions: 4.1.0.Final
Reporter: Xavier Coulon
Assignee: Xavier Coulon
Fix For: 4.2.0.CR1
Take the following classes:
{code}
@Path("/products")
public class ProductResourceLocator {
@QueryParam("foo")
private String foo;
@Path("/{productType}")
public Object getProductResourceLocator() {
return new BookResource();
}
}
{code}
and
{code}
@Produces({ MediaType.APPLICATION_XML, "application/json" })
public class BookResource {
@GET
@Path("/{id}")
@Produces({ "application/xml", "application/json" })
public Book getProduct(@PathParam("id") Integer id) {
return null;
}
}
{code}
and modify the @QueryParam value of the "foo" field.
ASSERT: the changes appear in the Project Explorer
FAIL: the old @QueryParam annotation value is still used
WORKAROUND: Refresh the JAX-RS Web Services node.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)