Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.2.8
-
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.