Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-276

AbstractHeaderContributor.cleanup() will never be called

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.4
    • 1.2.6
    • wicket
    • None
    • winstone servlet engine

    Description

      I am using the HeaderContributor.forJavaScript method. and the HeaderContributor.cleanup() is never called. so processedEntries will be stay alive in thead and if the thread will be reused for another request the renderHead method will not process the contributors which are known in the thead form previouse request. after i add a new HeaderContributor().cleanup(); in WebRequestCycle.onEndRequest() every thing works fine.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            akull82 andre kullmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment