You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shale.apache.org by "Craig McClanahan (JIRA)" <ji...@apache.org> on 2008/09/25 06:28:24 UTC

[jira] Updated: (SHALE-385) Back button doesn't work between dialog and subdialog

     [ https://issues.apache.org/struts/browse/SHALE-385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Craig McClanahan updated SHALE-385:
-----------------------------------

    Comment: was deleted

> Back button doesn't work between dialog and subdialog
> -----------------------------------------------------
>
>                 Key: SHALE-385
>                 URL: https://issues.apache.org/struts/browse/SHALE-385
>             Project: Shale
>          Issue Type: Bug
>          Components: Dialog
>    Affects Versions: 1.1.0-SNAPSHOT
>         Environment: Windows XP, Weblogic 8.1, snapshot from 20070103
>            Reporter: Adam A. Koch
>         Attachments: bwa.war
>
>
> I get an IllegalStateException when I go to a subdialog, hit the browser back button and then click on a button for the original dialog.
> Here are the steps to recreate the exception:
> Click on Go to Dialog 1
> Click on Go to Dialog 2
> Click the browser back button
> Click on Cancel
> Expect to go back to the main page, but instead get this exception:
> java.lang.IllegalStateException: Restored stack depth expects 2 but is actually 1
>         at org.apache.shale.dialog.basic.BasicDialogContext.setOpaqueState(BasicDialogContext.java:299)
>         at org.apache.shale.dialog.faces.DialogPhaseListener.restore(DialogPhaseListener.java:322)
>         at org.apache.shale.dialog.faces.DialogPhaseListener.afterRestoreView(DialogPhaseListener.java:189)
>         at org.apache.shale.dialog.faces.DialogPhaseListener.afterPhase(DialogPhaseListener.java:126)
>         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:211)
>         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
>         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
>         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
>         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
>         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
>         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
>         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
>         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
>         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
>         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
>         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
>         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.