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

FileErrorPageHandler.Wrapper doesn't "wrap"

XMLWordPrintable

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

      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);

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

                Created:
                Updated:
                Resolved: