You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Robin van Breukelen (JIRA)" <ji...@apache.org> on 2010/05/26 09:08:34 UTC

[jira] Created: (WICKET-2891) Typo in IllegalStateException when there are multiple beans of the same type

Typo in IllegalStateException when there are multiple beans of the same type
----------------------------------------------------------------------------

                 Key: WICKET-2891
                 URL: https://issues.apache.org/jira/browse/WICKET-2891
             Project: Wicket
          Issue Type: Bug
          Components: wicket-spring
    Affects Versions: 1.4.7
         Environment: Windows 7, 64-bit
            Reporter: Robin van Breukelen
            Priority: Minor


I have a test where there are multiple beans of the same type, I received the following exception

Caused by: java.lang.IllegalStateException: more then one bean of type [MyClassName] found, you have to specify the name of the bean (@SpringBean(name="foo")) in order to resolve this conflict. Matched beans: MyClassNamer$$EnhancerByMockitoWithCGLIB$$f5bd36c9,MyClassName

Please note how it states "then" rather than "than" since the sentence is about multiple things, 'than' is the only appropriate word to use.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (WICKET-2891) Typo in IllegalStateException when there are multiple beans of the same type

Posted by "Jeremy Thomerson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-2891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeremy Thomerson resolved WICKET-2891.
--------------------------------------

         Assignee: Jeremy Thomerson
    Fix Version/s: 1.4.10
       Resolution: Fixed

Fixed (in three spots on each branch).

Thanks!

> Typo in IllegalStateException when there are multiple beans of the same type
> ----------------------------------------------------------------------------
>
>                 Key: WICKET-2891
>                 URL: https://issues.apache.org/jira/browse/WICKET-2891
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-spring
>    Affects Versions: 1.4.7
>         Environment: Windows 7, 64-bit
>            Reporter: Robin van Breukelen
>            Assignee: Jeremy Thomerson
>            Priority: Minor
>             Fix For: 1.4.10
>
>
> I have a test where there are multiple beans of the same type, I received the following exception
> Caused by: java.lang.IllegalStateException: more then one bean of type [MyClassName] found, you have to specify the name of the bean (@SpringBean(name="foo")) in order to resolve this conflict. Matched beans: MyClassNamer$$EnhancerByMockitoWithCGLIB$$f5bd36c9,MyClassName
> Please note how it states "then" rather than "than" since the sentence is about multiple things, 'than' is the only appropriate word to use.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WICKET-2891) Typo in IllegalStateException when there are multiple beans of the same type

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12872209#action_12872209 ] 

Hudson commented on WICKET-2891:
--------------------------------

Integrated in Apache Wicket 1.5.x #72 (See [http://hudson.zones.apache.org/hudson/job/Apache%20Wicket%201.5.x/72/])
    fixes WICKET-2891


> Typo in IllegalStateException when there are multiple beans of the same type
> ----------------------------------------------------------------------------
>
>                 Key: WICKET-2891
>                 URL: https://issues.apache.org/jira/browse/WICKET-2891
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-spring
>    Affects Versions: 1.4.7
>         Environment: Windows 7, 64-bit
>            Reporter: Robin van Breukelen
>            Assignee: Jeremy Thomerson
>            Priority: Minor
>             Fix For: 1.4.10
>
>
> I have a test where there are multiple beans of the same type, I received the following exception
> Caused by: java.lang.IllegalStateException: more then one bean of type [MyClassName] found, you have to specify the name of the bean (@SpringBean(name="foo")) in order to resolve this conflict. Matched beans: MyClassNamer$$EnhancerByMockitoWithCGLIB$$f5bd36c9,MyClassName
> Please note how it states "then" rather than "than" since the sentence is about multiple things, 'than' is the only appropriate word to use.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.