[jbosstools-issues] [JBoss JIRA] (JBIDE-17457) JAX-RS Resource Wizard has inconsistent validation of target entity

Max Rydahl Andersen (JIRA) issues at jboss.org
Thu Jun 12 05:10:38 EDT 2014


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

Max Rydahl Andersen updated JBIDE-17457:
----------------------------------------

    Description: 
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.

  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)



> 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 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.



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the jbosstools-issues mailing list