You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org> on 2012/06/21 01:20:42 UTC

[jira] [Closed] (TAP5-1960) @javax.annotations.Inject on a field, without @Named, does not inject service resources

     [ https://issues.apache.org/jira/browse/TAP5-1960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship closed TAP5-1960.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 5.4
         Assignee: Howard M. Lewis Ship
    
> @javax.annotations.Inject on a field, without @Named, does not inject service resources
> ---------------------------------------------------------------------------------------
>
>                 Key: TAP5-1960
>                 URL: https://issues.apache.org/jira/browse/TAP5-1960
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-ioc
>    Affects Versions: 5.3, 5.4
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>             Fix For: 5.4
>
>
> Noticed this while rewriting tests for Spock.
> @javax.annotations.Inject and org.apache.tapestry5.annotations.Inject should work the same where-ever possible. 
> When @Named is not present, the logic was not asking InjectionResources for the value, as it would with Tapestry's @Inject.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira