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

Faces Flows are not discovered when the web application is packaged inside an EAR

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2.8
    • 2.2.10
    • None
    • None
    • WildFly 10.0.0, MyFaces 2.2.8, Weld 2.3

    Description

      Faces flows built with the FlowBuilder API are not found when the web application is packaged inside an EAR. When deploying just the web application itself, the application's flows are discoverable however.

      A sample application has been provided to demonstrate the issue. The button 'Start Test Flow' should be clicked on the page /FacesFlowTest1/index.xhtml. The flow will not be entered and MyFaces will try to navigate to a view with the flow id instead:

      [org.apache.myfaces.application.NavigationHandlerImpl] (default task-2) getOutcomeNavigationCase -> viewIdToTest: test-flow-1.xhtml
      [org.apache.myfaces.shared.resource.ResourceHandlerCache] (default task-2) Attemping to get resource from cache for test-flow-1.xhtml
      [org.apache.myfaces.application.NavigationHandlerImpl] (default task-2) handleNavigation fromAction=test-flow-1 outcome=test-flow-1 no matching navigation-case found, staying on current ViewRoot

      Mojarra supports Faces flow applications when they are packaged inside an EAR.

      Attachments

        1. FacesFlowTest.ear
          11 kB
          Hank Ibell
        2. myfaces-4022.patch
          8 kB
          Hank Ibell
        3. myfaces-4022.patch
          8 kB
          Hank Ibell
        4. myfaces-4022.patch
          8 kB
          Hank Ibell

        Activity

          People

            wtlucy Bill Lucy
            hwibell Hank Ibell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: