Uploaded image for project: 'Spring Web Flow'
  1. Spring Web Flow
  2. SWF-1630

JsfViewFactory.getViewStateViewRoot() calls static method FlowResponseStateManager.hasState() => doesn't work with Trinidad CoreResponseStateManager

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Complete
    • Affects Version/s: 2.4.0.RC1
    • Fix Version/s: 2.4
    • Component/s: JSF
    • Labels:
      None

      Description

      Combination of SWF 2.4.0.RC1 with JSF 2.2.4 and MyFaces Trinidad 2.0.1 doesn't function because JsfViewFactory.getViewStateViewRoot() calls static method FlowResponseStateManager.hasState() but FlowResponseStateManager.saveState() isn't called because Trinidad's render kit uses CoreResponseStateManager.

      As dirty workaround I have tested an own StateManager (extends FlowStateManager) which stores a dummy Object[2] in view scope with key FACES_VIEW_STATE in its method writeState(). This functions but is really a dirty hack.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rstoya05-aop Rossen Stoyanchev
              Reporter:
              malzahn Volker Malzahn
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: