Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JBEAP-28797 Fix exception handling in WebappLifecycleListener.requestDestroyed() #100

Open
wants to merge 1 commit into
base: 2.3.14.SP
Choose a base branch
from

Conversation

TomasHofman
Copy link

Issue: https://issues.redhat.com/browse/JBEAP-28797
Upstream issue: TBD
Upstream PR: TBD

The exception handling in WebappLifecycleListener.requestDestroyed() is not working because the InitFacesContext doesn't have the getExceptionHandler() method implemented.

Checking upstream mojarra master the method has been implemented there: https://github.com/eclipse-ee4j/mojarra/blame/master/impl/src/main/java/com/sun/faces/config/InitFacesContext.java#L103

although that implementation is still not sufficient for this use case (we would need InitFacesContext to keep returning the same ExceptionHandler instance, rather than always creating a new instance).

So if this change looks reasonable I would follow up with upstream Mojarra tickets to fix the use case there as well.

BTW I don't know which branch to target with this PR, but EAP 7.4 is currently using 2.3.14.SP07, hence using 2.3.14.SP.

Cc @jasondlee

@TomasHofman
Copy link
Author

Upstream Mojarra ticket and PRs:

eclipse-ee4j/mojarra#5556
eclipse-ee4j/mojarra#5558
eclipse-ee4j/mojarra#5557

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant