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

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Complete
    • 2.4.0.RC1
    • 2.4
    • JSF
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: