Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-628

Current Lifecycle implementation violates JSF Spec 1.1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.1.0
    • 1.1.1
    • JSR-127
    • None

    Description

      If a PhaseListener.beforePhase() calles FacesContext.renderResponse() or FacesContext.responseComplete(), then the LifeCycleImpl should not execute the functionality required for the current phase. (see JSF Spec 1.1 section 11-1 page 296f.) LifeCycleImpl is not taking care about this.

      This is important for us, because we'd like to make a redirect in the before render response phase. And at the moment an Illegal State exception is thrown, because the renderResponse is executed although responseComplete has been called.

      Attachments

        Activity

          People

            bdudney Bill Dudney
            holger.schimanski Holger Schimanski
            Votes:
            4 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: