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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.3, 5.4
    • Fix Version/s: 5.4
    • Component/s: tapestry-ioc
    • Labels:
      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

            • Assignee:
              hlship Howard M. Lewis Ship
              Reporter:
              hlship Howard M. Lewis Ship
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: