DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36514>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36514

           Summary: form bean funny behavior
           Product: Struts
           Version: 1.2.7
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P1
         Component: Struts Flow
        AssignedTo: dev@struts.apache.org
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED]


I have faced the following issue.

I have one action class A1 that forward to action class A2.

Now for A1 the form bean is populated from the http request where properties are
copied. This behavior is fine. 

In A1 I change some of the properties in the form bean. I then proceed to
forward it (internally) to A2

But for A2 that uses the same formbean I would think the normal behavior is to
retain the changes from A1. Instead I find that the object used is the same. But
before it passes it to the action class A2 it re-copies it from the original
request !!! I lose the changes I made in A1. This is as if A1 never processed it
since properties are recopied from the original http request. 

This is a reproducible bug. And this deviation from standard behavior is very
concerning.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to