----- Original Message ----- From: "Jason Carreira" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 27, 2003 6:50 AM Subject: [OS-webwork] Looking into problem
> I looked into the problem where Redirect does not correctly redirect if > there are errors on the action doing the redirect. Here's what I > commented on the Jira issue > (http://jira.opensymphony.com/secure/ViewIssue.jspa?id=21767) > > <quote> > The problem is that the ChainingActionFactoryProxy copies all > parameters from the first Action to the target action (the Redirect > action in this case). This includes the errors and errorMessages Maps. > So, is the problem then that the validate method in ActionSupport throws a ResultException? Perhaps if you would just override it with an empty method would be another solution? I do not know if people have subclassed the redirect action, but in that case it would perhaps have less impact on their code? Cheers, Dick Zetterberg [EMAIL PROTECTED] > The best fix for this would be to make Redirect not extend > ActionSupport. Would this break anything else? > </quote> > > So there's the question. Is that too big a change for 1.3? Would it > break anything else? I've already taken out CommandDriven from Redirect > because that was just causing me no end of problems, and I think it > probably makes sense to just make Redirect not extend ActionSupport at > all. Thoughts? > > Jason > -- ------------------------------------------------------- This SF.net email is sponsored by: The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today! http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork