]
Alexey Kazakov commented on JBIDE-18392:
----------------------------------------
+1
JAX-RS Resource wizard: Resource methods are created even though
there is no Target entity specified anymore
------------------------------------------------------------------------------------------------------------
Key: JBIDE-18392
URL:
https://issues.jboss.org/browse/JBIDE-18392
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: webservices
Affects Versions: 4.2.0.CR1
Reporter: Marián Labuda
Assignee: Xavier Coulon
Fix For: 4.2.1.CR1, 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.