[
https://issues.jboss.org/browse/WFLY-4555?page=com.atlassian.jira.plugin....
]
Eduardo Silva edited comment on WFLY-4555 at 4/25/15 5:15 PM:
--------------------------------------------------------------
I;ve take two minutes to take a shalow look on this, and I gave a hint on the beans.xml.
That is currently:
<?xml version="1.0" encoding="UTF-8"?>
<beans
xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
http://xmlns.jcp.org/xml/ns/javaee/beans_1_1.xsd"
bean-discovery-mode="annotated">
</beans>
I've replaced by one without nothing, using touch beans.xml and I got this on test
cases:
18:11:01,186 INFO [testcase.convertertest.UserForm] (default task-12) 0 0
18:11:04,216 INFO [testcase.convertertest.UserForm] (default task-13) 1 1
18:11:07,539 INFO [testcase.convertertest.UserForm] (default task-14) 3 3
18:11:10,278 INFO [testcase.convertertest.UserForm] (default task-15) 2 2
At least not the same error, that I saw before.
was (Author: esantana):
I;ve take two minutes to take a shalow look on this, and I give a hint on the beans.xml.
That is currently:
<?xml version="1.0" encoding="UTF-8"?>
<beans
xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
http://xmlns.jcp.org/xml/ns/javaee/beans_1_1.xsd"
bean-discovery-mode="annotated">
</beans>
I've replaced by one without nothing, using touch beans.xml and I got this on test
cases:
18:11:01,186 INFO [testcase.convertertest.UserForm] (default task-12) 0 0
18:11:04,216 INFO [testcase.convertertest.UserForm] (default task-13) 1 1
18:11:07,539 INFO [testcase.convertertest.UserForm] (default task-14) 3 3
18:11:10,278 INFO [testcase.convertertest.UserForm] (default task-15) 2 2
At least not the same error, that I saw before.
Faces converter is not properly assigned if it is a CDI @Named bean
-------------------------------------------------------------------
Key: WFLY-4555
URL:
https://issues.jboss.org/browse/WFLY-4555
Project: WildFly
Issue Type: Bug
Affects Versions: 8.2.0.Final
Environment: Tested on openjdk version "1.8.0_45"
OpenJDK Runtime Environment (build 1.8.0_45-b13)
OpenJDK 64-Bit Server VM (build 25.45-b02, mixed mode)
Reporter: MichaĆ Piotrowski
Assignee: Jason Greene
Attachments: ConverterTest.zip
If I try to use converter declaring it with attribute converter (e.g. on selectOneMenu)
and use expression which points to a @Named CDI bean it isn't properly registered.
I will try to attach simple maven test case project.
The same converter class can be used if it is @Inject (-ed) to a CDI managed bean and
provided through some getter method to a converter attribute.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)