]
Pete Muir updated JBSEAM-1758:
------------------------------
Assignee: (was: Norman Richards)
DocumentStorePhaseListener fails if installed before
SeamPhaseListener when used in a portlet
---------------------------------------------------------------------------------------------
Key: JBSEAM-1758
URL:
https://jira.jboss.org/jira/browse/JBSEAM-1758
Project: Seam
Issue Type: Bug
Components: PDF, Portal
Affects Versions: 2.0.0.BETA1
Reporter: Chris Rudd
When the DocumentStorePhaseListener is installed before the SeamPhaseListener (this can
happend when the jboss-seam.jar sits in the ear, and the jboss-seam-pdf.jar sits in the
war) in a portlet environment, a "No active application context" exception is
thrown during Portlet.render. This is becaus the SeamPhaseListener hasn't had a chance
to setup the Seam contexts yet.
I would suggest changing the code so that it responds to the Phase events that the
SeamPhaseListener publishes ( org.jboss.seam.beforePhase ) so that its guaranteed to be
executed after the SeamPhaseListener has property set things up.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: