Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-1959

Wildcard page view-id (*) in pages.xml file with login-required="true" cause error.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate Issue
    • Affects Version/s: 2.0.0.CR1
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
      None
    • Environment:

      Windows XP Pro SP2
      JBoss AS 4.2.0.GA
      JBoss Seam 2.0.0.CR1

    • Workaround Description:
      Hide

      To use <page view-id=""> instead of <page view-id="" login-required="true" > in pages.xml and to use login-required="true" in all *.page.xml files.

      Show
      To use <page view-id=" "> instead of <page view-id=" " login-required="true" > in pages.xml and to use login-required="true" in all *.page.xml files.

      Description

      The use of <page view-id="*" login-required="true" > in pages.xml file causes the following errors:
      a) ERROR [ResourceLifecycle] Exception in PhaseListener, render view : beforePhase java.lang.IllegalStateException: No active application scope
      and
      b) ERROR [ResourceLifecycle] Exception in PhaseListener, render view : beforePhase
      java.lang.IllegalStateException: No application context active

      If login-required="true" is just removed the above errors disappear.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  alexsmirnov Alexander Smirnov
                  Reporter:
                  franciscoacb Francisco Antônio
                • Votes:
                  4 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: