[jbosstools-issues] [JBoss JIRA] (JBIDE-11136) Wrong quick fix for empty tag <class> in beans.xml
Jaroslav Jankovič (JIRA)
jira-events at lists.jboss.org
Wed Mar 14 05:24:47 EDT 2012
[ https://issues.jboss.org/browse/JBIDE-11136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jaroslav Jankovič closed JBIDE-11136.
-------------------------------------
Verified in JBT 3.3.0 Beta1e.
> Wrong quick fix for empty tag <class> in beans.xml
> --------------------------------------------------
>
> Key: JBIDE-11136
> URL: https://issues.jboss.org/browse/JBIDE-11136
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: CDI
> Affects Versions: 3.3.0.Beta1
> Reporter: Daniel Azarov
> Assignee: Daniel Azarov
> Fix For: 3.3.0.Beta1
>
> Attachments: empty_tag_class.png, JBIDE-11136.patch
>
>
> Test case:
> Execute:
> 1. Create CDI project
> 2. Create beans.xml
> {code}
> <?xml version="1.0"?>
> <beans xmlns="http://java.sun.com/xml/ns/javaee"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://jboss.org/schema/cdi/beans_1_0.xsd">
> <alternatives>
> <class> </class>
> </alternatives>
> </beans>
> {code}
> 3. Save file
> ASSERT: There is a problem marker "There is no class with the specified name [JSR-299 §5.1.1]" for tag <class> </class>
> EXECUTE: Point mouse to marked text then hold
> ASSERT: There should be no Quick Fix "Create CDI Bean Class" for such cases
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list