Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-391

FileErrorPageHandler.Wrapper doesn't "wrap"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.1.3.Final, 1.2.0.Beta9
    • 1.2.0.Beta8
    • Core
    • None

    Description

      When using FileErrorPageHandler within a PredicatesHandler, the next handlers in the chain are not called.
      I think the problem comes from FileErrorPageHandler.Wrapper.wrap(), it needs a call to setNext() as follows :

      return new FileErrorPageHandler(new File(file), responseCodes).setNext(handler);

      Attachments

        Activity

          People

            sdouglas1@redhat.com Stuart Douglas
            gregory.lardiere Gregory Lardiere (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: