Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-17457

JAX-RS Resource Wizard has inconsistent validation of target entity

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 4.2.0.CR1
    • 4.2.0.Beta2
    • webservices
    • None

      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.

            xcoulon@redhat.com Xavier Coulon
            xcoulon@redhat.com Xavier Coulon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: