]
Denis Golovin updated JBIDE-17457:
----------------------------------
Sprint: Sprint to Beta3 Release (was: Sprint Beta2 CF, Sprint to Beta3 Release)
JAX-RS Resource Wizard has inconsistent validation of target entity
-------------------------------------------------------------------
Key: JBIDE-17457
URL:
https://issues.jboss.org/browse/JBIDE-17457
Project: Tools (JBoss Tools)
Issue Type: Enhancement
Components: webservices
Affects Versions: 4.2.0.Beta2
Reporter: Xavier Coulon
Assignee: Xavier Coulon
Fix For: 4.2.0.CR1
The wizard should let the user click on the 'Finish' button even if no
'Target entity was specified', in which case, the JAX-RS Resource Methods
checkboxes should be all unselected and disabled and the generated code should only
contain the package and type declaration (no method)
BUT when you actually type in class for entity and it does not exist or you edit the
field to be be blank the wizard shows an error where it should just be a warning and allow
you to create it as if you hadn't edited the field.
Should only make it an error if one of the methodstub checkboxes actually requires a
type.