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

Bauke Scholtz (JIRA) issues at jboss.org
Tue Jul 7 05:08:02 EDT 2015


     [ https://issues.jboss.org/browse/WFLY-4877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bauke Scholtz updated WFLY-4877:
--------------------------------
    Description: 
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.


  was:
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 as #{fOOBean} instead of #{FOOBean}.




> 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