]
Marián Labuda updated JBIDE-18808:
----------------------------------
Labels: jax-rs (was: )
JAX-RS Resource wizard: Resource methods are created even though
there is no Target entity specified anymore
------------------------------------------------------------------------------------------------------------
Key: JBIDE-18808
URL:
https://issues.jboss.org/browse/JBIDE-18808
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: webservices
Affects Versions: 4.2.0.CR1
Reporter: Xavier Coulon
Assignee: Xavier Coulon
Labels: jax-rs
Fix For: 4.3.0.Alpha1
If I start typing name of Target entity in the JAX-RS Resource wizard, then checkboxes
for creating resource methods (findById, listAll...) are allowed to be changed
(checked/unchecked). But after completely removing of Target entity (leaving the field
blank) the checkboxes are stilled in state checked/unchecked as they were changed while
having filled Entity, but this changes are propagated next. That cause generating resource
class with those methods even though there was no Entity specified and it leaves blank
space in those generated methods causing syntax error.