[
https://issues.jboss.org/browse/JBIDE-9733?page=com.atlassian.jira.plugin...
]
Viacheslav Kabanovich commented on JBIDE-9733:
----------------------------------------------
I have implemented validation of inline bean type. If inline bean is not assignable,
marker will appear at the bean node 'Type mismatch: cannot convert from ... to
...".
If field type is not a collection or map, it is the required type for the inline bean.
If field type is a collection, its element type is the required type for the inline bean.
If field type is a map, its key/value type is the required type for the inline bean used
as key/value respectively.
In case of type mismatch, marker "No bean is eligible for injection..." at
<s:value> and <s:key> will also appear; which corresponds to treating such
assignments by seam config extension as injection of inline beans.
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