[ 
http://issues.apache.org/struts/browse/SHALE-48?page=comments#action_37576 ] 

Dominique Jean-Prost commented on SHALE-48:
-------------------------------------------

one of the problem is that the exception raised is very generic (ie 
IllegalArgumentException). I think it could be at least changed to something a 
bit more specific, for example : ShaleStateMachineUnsynchronizedException or 
whatever instead of the IllegalArgument.

Without needing a too much complex change that seems to be needed to fix the 
whole stuff, it could add a way to deal with the issue.

> [shale] Serious issue with dialog state
> ---------------------------------------
>
>          Key: SHALE-48
>          URL: http://issues.apache.org/struts/browse/SHALE-48
>      Project: Shale
>         Type: Bug

>  Environment: Operating System: other
> Platform: PC
>     Reporter: sean schofield

>
> Consider the following example:
> Start up the usecases example and begin creating a new profile.  Stop when you
> get to page 2.  Now open a new tab (use Firefox) and click the logon dialog
> again.  You get an exception:
> java.lang.IllegalArgumentException: Position[dialogName=Edit
> Profile,stateName=Page 2],outcome=dialog:Log On
> This is because you have initiated the same dialog without finishing the
> previous dialog.  This is not as crazy of a test as it might seem.  Consider
> what would happen if you opened the dialog in popup window (instead of a 
> browser
> tab) and the user closed the window prematurely ... same problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to