Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Invalid
-
2.2.4
-
None
-
None
Description
Outcome is null, but the following navigation case matches (even though "from-outcome" is present).
<navigation-case> <from-outcome>go_mainMenu</from-outcome> <if>#{!mainLayoutBean.isXS}</if> <to-view-id>/mainMenu.xhtml</to-view-id> </navigation-case>
Specification says:
To match an outcome value of null, the <from-outcome> must be absent and the <if> element present.
For evaluation look at org.apache.myfaces.application.NavigationHandlerImpl#calcMatchingNavigationCase
perhaps especially at
if(outcome == null && (cazeOutcome != null || cazeIf == null) && actionRef == null) { continue; }