]
Xavier Coulon resolved JBIDE-17307.
-----------------------------------
Fix Version/s: 4.2.0.Beta2
Resolution: Done
Fixed while working on JBIDE-17177
Missing label and broken link for JAX-RS problem severity
configuration
-----------------------------------------------------------------------
Key: JBIDE-17307
URL:
https://issues.jboss.org/browse/JBIDE-17307
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: webservices
Affects Versions: 4.1.1.Final
Reporter: Xavier Coulon
Assignee: Xavier Coulon
Fix For: 4.2.0.Beta2
Attachments: Screen Shot 2014-05-21 at 11.42.13.png
Let's say the user has a class as below:
{code}
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 {
}
{code}
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.