[JBoss JIRA] (JBIDE-9179) Bad behaviour of the JAX-RS Capabilities popup
by Xavier Coulon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-9179?page=com.atlassian.jira.plugin... ]
Xavier Coulon updated JBIDE-9179:
---------------------------------
Fix Version/s: 4.2.0.Final
(was: 4.3.0.Alpha1)
(was: 4.2.1.Final)
> Bad behaviour of the JAX-RS Capabilities popup
> -----------------------------------------------
>
> Key: JBIDE-9179
> URL: https://issues.jboss.org/browse/JBIDE-9179
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: upstream, webservices
> Affects Versions: 3.3.0.M1
> Reporter: Xavier Coulon
> Assignee: Xavier Coulon
> Priority: Minor
> Labels: JAX-RS, upstream
> Fix For: 4.2.0.Final
>
> Original Estimate: 0 minutes
> Remaining Estimate: 0 minutes
>
> When setting the JAX-RS Facet on a dynamic web project, a popup window requires to choose the JAX-RS implementation library for the project, and optionally to specify the servlet class name to update the web.xml deployment descriptor accordingly. When choosing 'Disable library configuration' or 'Pure JEE6 implementation', the 'Servlet Information' panel is not disabled as expected. This is related to https://bugs.eclipse.org/bugs/show_bug.cgi?id=338898
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBIDE-18288) Quick Fix for NameBinding without Target annotation is disabled
by Radoslav Rábara (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18288?page=com.atlassian.jira.plugi... ]
Radoslav Rábara commented on JBIDE-18288:
-----------------------------------------
Hi [~xcoulon]],
try to apply quick fix of the first problem and then check if the 'Quickfix' of the second problem is enabled. I updated Steps to Reproduce to make it clear that 'Quickfix' menu is disabled after quickfix of the first problem was used.
> Quick Fix for NameBinding without Target annotation is disabled
> ---------------------------------------------------------------
>
> Key: JBIDE-18288
> URL: https://issues.jboss.org/browse/JBIDE-18288
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: webservices
> Affects Versions: 4.2.0.CR1
> Reporter: Radoslav Rábara
> Assignee: Xavier Coulon
> Priority: Minor
> Fix For: 4.2.0.CR2
>
> Attachments: Screen Shot 2014-09-10 at 15.30.42.png
>
>
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBIDE-18288) Quick Fix for NameBinding without Target annotation is disabled
by Radoslav Rábara (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18288?page=com.atlassian.jira.plugi... ]
Radoslav Rábara updated JBIDE-18288:
------------------------------------
Steps to Reproduce:
STEP: Create Dynamic Web Project with JAX-RS Support
STEP: Create Authorized annotation
{code}
import javax.ws.rs.NameBinding;
@NameBinding
public @interface Authorized {
}
{code}
ASSERT: There are 2 errors in Problems view:
{code}
The Name Binding should have a @Retention(RetentionPolicy.RUNTIME) annotation on its type.
{code}
{code}
The Name Binding should have a @Target(ElementType.METHOD) annotation on its type.
{code}
STEP: Use Quick Fix to fix missing @Retention annotation via Problems view (left click on the problem in Problems View and then select "Quick Fix" in the context menu)
ASSERT: Quick Fix was applied
STEP: Use another Quick Fix to fix missing @Target annotation via Problems view
FAIL: Option "Quick Fix" is disabled
was:
STEP: Create Dynamic Web Project with JAX-RS Support
STEP: Create Authorized annotation
{code}
import javax.ws.rs.NameBinding;
@NameBinding
public @interface Authorized {
}
{code}
ASSERT: There are 2 errors in Problems view:
{code}
The Name Binding should have a @Retention(RetentionPolicy.RUNTIME) annotation on its type.
{code}
{code}
The Name Binding should have a @Target(ElementType.METHOD) annotation on its type.
{code}
STEP: Use Quick Fix to fix missing @Retention annotation via Problems view (left click on the problem in Problems View and then select "Quick Fix" in the context menu)
STEP: Use Quick Fix to fix missing @Target annotation via Problems view
FAIL: Option "Quick Fix" is disabled
> Quick Fix for NameBinding without Target annotation is disabled
> ---------------------------------------------------------------
>
> Key: JBIDE-18288
> URL: https://issues.jboss.org/browse/JBIDE-18288
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: webservices
> Affects Versions: 4.2.0.CR1
> Reporter: Radoslav Rábara
> Assignee: Xavier Coulon
> Priority: Minor
> Fix For: 4.2.0.CR2
>
> Attachments: Screen Shot 2014-09-10 at 15.30.42.png
>
>
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months