[jbosstools-issues] [JBoss JIRA] (JBIDE-12601) CDI as-you-type validator should not validate injections which use supported CDI extensions and ignored by the build CDI validator.
Alexey Kazakov (JIRA)
jira-events at lists.jboss.org
Thu Sep 13 20:48:32 EDT 2012
[ https://issues.jboss.org/browse/JBIDE-12601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Kazakov updated JBIDE-12601:
-----------------------------------
Description:
1. Create Seam 3.1 project.
2. Create the following class:
{code}
package test;
import javax.inject.Inject;
import org.jboss.solder.servlet.http.RequestParam;
public class Tiger {
}
{code}
3. Add this injection point to the class: @Inject @RequestParam String s; Don't save the file!
4. FAILURE: the injection marked as a problem since there is no bean which can be injected.
5. Save the file.
6. ASSERT: The is no problem since the injection annotated @RequestParam
> CDI as-you-type validator should not validate injections which use supported CDI extensions and ignored by the build CDI validator.
> -----------------------------------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-12601
> URL: https://issues.jboss.org/browse/JBIDE-12601
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: CDI extensions
> Affects Versions: 4.0.0.Alpha1
> Reporter: Alexey Kazakov
> Assignee: Alexey Kazakov
> Fix For: 4.0.0.Alpha2
>
>
> 1. Create Seam 3.1 project.
> 2. Create the following class:
> {code}
> package test;
> import javax.inject.Inject;
> import org.jboss.solder.servlet.http.RequestParam;
> public class Tiger {
> }
> {code}
> 3. Add this injection point to the class: @Inject @RequestParam String s; Don't save the file!
> 4. FAILURE: the injection marked as a problem since there is no bean which can be injected.
> 5. Save the file.
> 6. ASSERT: The is no problem since the injection annotated @RequestParam
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list