Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-1960

@javax.annotations.Inject on a field, without @Named, does not inject service resources

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.3, 5.4
    • 5.4
    • tapestry-ioc
    • None

    Description

      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.

      Attachments

        Activity

          People

            hlship Howard Lewis Ship
            hlship Howard Lewis Ship
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: