[jboss-jira] [JBoss JIRA] (WFLY-4877) Wrong default managed bean name of backing beans whose name starts with more than 2 capitals

Tomas Remes (JIRA) issues at jboss.org
Tue Jul 7 05:57:02 EDT 2015


    [ https://issues.jboss.org/browse/WFLY-4877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13087166#comment-13087166 ] 

Tomas Remes commented on WFLY-4877:
-----------------------------------

See https://issues.jboss.org/browse/WELD-1941. This was fixed (changed) to reflect CDI spec http://docs.jboss.org/cdi/spec/1.2/cdi-spec.html#managed_bean_name. 

> Wrong default managed bean name of backing beans whose name starts with more than 2 capitals
> --------------------------------------------------------------------------------------------
>
>                 Key: WFLY-4877
>                 URL: https://issues.jboss.org/browse/WFLY-4877
>             Project: WildFly
>          Issue Type: Bug
>          Components: CDI / Weld
>    Affects Versions: 9.0.0.Final
>            Reporter: Bauke Scholtz
>            Assignee: Stuart Douglas
>
> Trigger: http://stackoverflow.com/q/31263272/157882
> The below example bean whose unqualified name starts with more than two capitals
> {code}
> @Named
> public class FOOBean {}
> {code}
> is incorrectly registered with managed bean name of "fOOBean" instead of "FOOBean".
> It worked fine in 9.0.0.CR2.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list