[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-1758) DocumentStorePhaseListener fails if installed before SeamPhaseListener when used in a portlet

Pete Muir (JIRA) jira-events at lists.jboss.org
Sun Jan 27 17:18:21 EST 2008


     [ http://jira.jboss.com/jira/browse/JBSEAM-1758?page=all ]

Pete Muir updated JBSEAM-1758:
------------------------------

    Component/s: PDF
                 Portal

> DocumentStorePhaseListener fails if installed before SeamPhaseListener when used in a portlet
> ---------------------------------------------------------------------------------------------
>
>                 Key: JBSEAM-1758
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1758
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: Portal, PDF
>    Affects Versions: 2.0.0.BETA1
>            Reporter: Chris Rudd
>         Assigned To: Norman Richards
>
> 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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list