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

PerThread scope is not honored when service is created using autobuild

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.3
    • Fix Version/s: 5.3.1, 5.4
    • Component/s: tapestry-ioc
    • Labels:
      None

      Description

      Bug is possible to reproduce by modifying IOC test class PerThreadModule:

      from:

      @Scope(ScopeConstants.PERTHREAD)
      public StringHolder buildStringHolder()

      { return new StringHolderImpl(); }

      to:

      @Scope(ScopeConstants.PERTHREAD)
      public StringHolder buildStringHolder(@Autobuild StringHolderImpl impl)

      { return impl; }

        Attachments

          Activity

            People

            • Assignee:
              hlship Howard M. Lewis Ship
              Reporter:
              denis.stepanov Denis Stepanov
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: