[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-9733) Weird warning message in seam-config.xml
Viacheslav Kabanovich (JIRA)
jira-events at lists.jboss.org
Fri Sep 16 21:49:26 EDT 2011
[ https://issues.jboss.org/browse/JBIDE-9733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12628955#comment-12628955 ]
Viacheslav Kabanovich commented on JBIDE-9733:
----------------------------------------------
It is not completely weird.
When value of a config bean field is set by <s:value> with content defined as an in-line bean, the field becomes an injection point that must be resolved to that in-line bean. In this case bug is that field type is Set<X> and in-line bean type is X, so that we cannot assign X to Set<X>, but it is a correct specific case in Seam beans config, when <s:value> sets not the field value, but adds an element to it.
> Weird warning message in seam-config.xml
> ----------------------------------------
>
> Key: JBIDE-9733
> URL: https://issues.jboss.org/browse/JBIDE-9733
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: CDI extensions
> Affects Versions: 3.3.0.M3
> Reporter: Alexey Kazakov
> Assignee: Viacheslav Kabanovich
> Fix For: 3.3.0.M4
>
>
> EXECUTE: Import Seam Rest project from http://github.com/seam/rest as an existing maven project.
> EXECUTE: Build the project. Make sure CDI support is enabled.
> EXECUTE: Open /seam-rest-example-tasks/src/main/resources/META-INF/seam-beans.xml
> FAILURE: <s:value> (line 11) is marked as a problem: *No bean is eligible for injection to the injection point [JSR-299 §5.2.1]*
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list