You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2003/01/24 19:50:45 UTC
DO NOT REPLY [Bug 16404] New: -
flow script - local vars shared on different continuations
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16404>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16404
flow script - local vars shared on different continuations
Summary: flow script - local vars shared on different
continuations
Product: Cocoon 2
Version: Current CVS
Platform: PC
URL: http://marc.theaimsgroup.com/?l=xml-cocoon-
users&m=104257843715054&q=p3
OS/Version: Linux
Status: UNCONFIRMED
Severity: Major
Priority: Other
Component: core
AssignedTo: cocoon-dev@xml.apache.org
ReportedBy: koeppe@rbg.informatik.tu-darmstadt.de
with cocoon 2.1 dev cvs version from Jan 9 2003,
Java 1.4.0, Tomcat 4.1.12,
I have the following problem. Local variables seem not to be hold
separately in different continuations, i.e. one continuation modifies the
vars of another.
Execute the sample program and look at the variable "i". If I press
"increment", all is fine and "i" gets incremented, also for "decrement".
But if you press "Reload" in your browser, "i" gets incremented or
decremented, too, depending on the last intended operation executed.
I think this behaviour is different from the one described in
http://localhost:8080/cocoon/samples/flow/continuations.html
where a continuation "contains a snapshot of the stack trace, including
all the local variables".
My interpretation of the latter is, that "i" shouldn't change on
"Reload".
You'll find the demonstrating sample program at
<co...@xml.apache.org> in my message from 2003-01-14.
Martin Koeppe
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org