Tapestry 5
  1. Tapestry 5
  2. TAP5-1765

PerThread scope is not honored when service is created using autobuild

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor 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; }

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development