You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Gerhard Petracek (JIRA)" <ji...@apache.org> on 2014/06/10 16:28:02 UTC

[jira] [Resolved] (DELTASPIKE-633) DeltaSpikeNavigationHandler ignores ViewConfigs if there is an unhandled JSF exception

     [ https://issues.apache.org/jira/browse/DELTASPIKE-633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gerhard Petracek resolved DELTASPIKE-633.
-----------------------------------------

    Resolution: Not a Problem

#1 ViewExpiredException is handled by DeltaSpike once you provide a DefaultErrorView
#2 see DefaultErrorViewAwareExceptionHandlerWrapper how you need to implement it that it works (see esp. exceptionQueuedEventIterator.remove)

> DeltaSpikeNavigationHandler ignores ViewConfigs if there is an unhandled JSF exception
> --------------------------------------------------------------------------------------
>
>                 Key: DELTASPIKE-633
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-633
>             Project: DeltaSpike
>          Issue Type: Bug
>          Components: JSF-Module
>    Affects Versions: 1.0.0
>            Reporter: Richard DiCroce
>
> Specifically, the method DeltaSpikeNavigationHandler#handleNavigation(FacesContext context, String fromAction, String outcome) does not consult the NavigationHandlers that handle ViewConfigs if it detects that the JSF ExceptionHandler has unhandled exceptions in its queue.
> I'm guessing that there is some reason for this, but there are no comments in the code that explain it and it breaks a use case for me. I want to handle ViewExpiredException by redirecting the user to the login page using ViewNavigationHandler.



--
This message was sent by Atlassian JIRA
(v6.2#6252)