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

Missing label and broken link for JAX-RS problem severity configuration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.2.0.Beta2
    • 4.1.1.Final
    • webservices
    • None

      Let's say the user has a class as below:

      package org.jboss.tools.ws.jaxrs.sample.services;
      
      import javax.ws.rs.HttpMethod;
      import java.lang.annotation.Retention;
      import java.lang.annotation.RetentionPolicy;
      import java.lang.annotation.Target;
      import java.lang.annotation.ElementType;
      
      @Target(ElementType.METHOD)
      @HttpMethod("FOO")
      public @interface FOO {
      
      }
      

      The JAX-RS Validator will report that the FOO type is missing an @Retention annotation. When hovering over the problem in the Java Editor, the dialog shows 2 quickfixes, one should be a link to the preference page to change the severity level associated with this problem. The link label is incomplete and targets a blank property page.

            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: