MyFaces Core
  1. MyFaces Core
  2. MYFACES-628

Current Lifecycle implementation violates JSF Spec 1.1

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.1.1
    • Component/s: JSR-127
    • Labels:
      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.

        Activity

        Holger Schimanski created issue -
        Bruno Aranda made changes -
        Field Original Value New Value
        Component/s JSR-127 [ 12310224 ]
        Bill Dudney made changes -
        Assignee Bill Dudney [ bdudney ]
        Bill Dudney made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.1.1 [ 12310262 ]
        Bill Dudney made changes -
        Status Resolved [ 5 ] Reopened [ 4 ]
        Resolution Fixed [ 1 ]
        Bill Dudney made changes -
        Resolution Fixed [ 1 ]
        Status Reopened [ 4 ] Closed [ 6 ]
        Bill Dudney made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Bill Dudney made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        sean schofield made changes -
        Workflow jira [ 12330519 ] MyFaces Workflow [ 12348351 ]
        sean schofield made changes -
        Workflow MyFaces Workflow [ 12348351 ] MyFaces Workflow2 [ 12350890 ]
        sean schofield made changes -
        Workflow MyFaces Workflow [ 12348351 ] MyFaces Workflow2 [ 12350973 ]
        sean schofield made changes -
        Workflow MyFaces Workflow2 [ 12350973 ] MyFaces Workflow [ 12354735 ]
        sean schofield made changes -
        Workflow MyFaces Workflow [ 12354735 ] MyFaces Workflow2 [ 12356021 ]
        sean schofield made changes -
        Workflow MyFaces Workflow2 [ 12356021 ]  MyFaces Workflow [ 12357727 ]
        sean schofield made changes -
        Workflow  MyFaces Workflow [ 12357727 ] MyFaces Workflow2 [ 12360449 ]

          People

          • Assignee:
            Bill Dudney
            Reporter:
            Holger Schimanski
          • Votes:
            4 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development