[
https://jira.jboss.org/jira/browse/JBSEAM-3698?page=com.atlassian.jira.pl...
]
Mark Torres commented on JBSEAM-3698:
-------------------------------------
Marko:
I can confirm that moving the cleanup that way fixes my issue. To test, I basically
overrode the built in FaceletsRenderer component and delegated the call to the
RendererRequest that has the cleanup in the finally block, the same way you have it. This
is all in 2.1.2.CR1.
try {
init();
renderFacelet(facesContext, faceletForViewId(viewId));
} finally {
resetContextClassLoader();
cleanup();
}
This may not be the right place to ask this, but how do I access 2.1.2.CR2?
Error during rendering of an EMail in an event listener causes
failure in rendering of next page
------------------------------------------------------------------------------------------------
Key: JBSEAM-3698
URL:
https://jira.jboss.org/jira/browse/JBSEAM-3698
Project: Seam
Issue Type: Bug
Components: Mail
Affects Versions: 2.1.0.SP1
Environment: Windows XP, Java 6, 2GB RAM, JBoss 4.2.2.GA
Reporter: Wayne Bagguley
Fix For: 2.1.2.CR2
Attachments: RendererRequest.diff
I have a method that is defined as a listener like this :
@Observer(JpaIdentityStore.EVENT_USER_CREATED)
This attempts to send an email to the user when he registers but if the email rendering
fails for some reason the exception is caught and the method returns normally. However,
instead of the next page being rendered, the original page gets rendered incorrectly, with
parts of the form in the wrong place. The failure of rendering the EMail should not affect
the progress of the rendering of the next page if the exception is caught.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira