[
https://issues.jboss.org/browse/JBIDE-17457?page=com.atlassian.jira.plugi...
]
Xavier Coulon updated JBIDE-17457:
----------------------------------
Description:
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.
was:
The wizard should let the user click on the 'Finish' button even if no 'Target
entoty 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.
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.Beta3
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.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)