deltaspike-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerhard Petracek (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DELTASPIKE-633) DeltaSpikeNavigationHandler ignores ViewConfigs if there is an unhandled JSF exception
Date Tue, 10 Jun 2014 14:28:02 GMT

     [ 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)

Mime
View raw message