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

PerThread scope is not honored when service is created using autobuild

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 5.3
    • 5.3.1, 5.4
    • tapestry-ioc
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: