[jbosstools-issues] [JBoss JIRA] (JBIDE-15599) Changes on a subresource locator fields are not propagated to the JAX-RS Explorer

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Tue Oct 15 06:04:36 EDT 2013


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

Max Rydahl Andersen reassigned JBIDE-15599:
-------------------------------------------

    Assignee: Xavier Coulon  (was: Max Rydahl Andersen)


makes sense adding listener more aggressively solves both issues and listner is cleaned up on disposal in existing code.

thus +1 for the fix.
                
> 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.1.1.Beta1
>
>
> 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 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