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

Sometimes there is no update in JAX-RS explorer as it should be

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.1.1.Final
    • 3.3.0.M5
    • webservices
    • None
    • Hide

      EXECUTE: Create Dynamic Web Project with JAX-RS 1.1 support
      EXECUTE: Create RESTful web service with GET and POST methods in it
      EXECUTE: Replace GET annotation with POST annotation (so there will be two POST methods in web service), save the file
      ASSERT: JAX-RS explorer correctly shows two POST methods
      FAIL: JAX-RS explorer incorrectly shows one GET and one POST method

      Show
      EXECUTE: Create Dynamic Web Project with JAX-RS 1.1 support EXECUTE: Create RESTful web service with GET and POST methods in it EXECUTE: Replace GET annotation with POST annotation (so there will be two POST methods in web service), save the file ASSERT: JAX-RS explorer correctly shows two POST methods FAIL: JAX-RS explorer incorrectly shows one GET and one POST method
    • The 'Endpoint' refresh was missing the case where HttpMethod changed :-/

      When replacing annotation by another only by typing it manually, there is no bug. But if you would like to replace it with Copy-Paste way, there is no change in JAX-RS explorer. Clean build won't help as well.

            rrabara Radoslav Rábara (Inactive)
            jjankovi Jaroslav Jankovič (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: