cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33083] - flowscript fails to continue for continuation-id passed as hidden form field (infinite loop)
Date Thu, 13 Jan 2005 18:43:57 GMT
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=33083>.
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=33083





------- Additional Comments From roman@pielaszek.pl  2005-01-13 19:43 -------
(In reply to comment #1)
> What is the URL the form is posted to (i.e. <form action="???">). It is very
> likely that this URL is matched in the sitemap before the test for
> continuation-id, thus leading to restarting the flow.

99% not - I checked this before, however...
 
> I personally use a generic "continue.html" URL to continue flowscripts with
> continuation-id passed as parameter and have absolutely no problem.

I made according changes in:

FORM: <ft:form-template action="continue.html" method="POST"><ft:continuation-id/>

SITEMAP:
 <map:match pattern="contine.html">
  <map:call continuation="{request-param:continuation-id}"/>
 </map:match>

but behavior remains the same. Sitemap log shows recursive calls:


DEBUG   (2005-01-13) 18:22.46:486   [sitemap] (/website/continue.html)
PoolThread-1/PreparableMatchNode: Matcher 'wildcard' matched prepared pattern
'*/**' at file:/home/pielasze/webapp/sitemap.xmap:842:31
DEBUG   (2005-01-13) 18:22.46:486   [sitemap] (/website/continue.html)
PoolThread-1/InvokeContext: 
Current Sitemap Parameters:
LEVEL 1
PARAM: '2' VALUE: 'continue.html'
PARAM: '0' VALUE: 'website/continue.html'
PARAM: '1' VALUE: 'website'

DEBUG   (2005-01-13) 18:22.46:487   [sitemap] (/website/continue.html)
PoolThread-1/PreparableMatchNode: Matcher 'wildcard' matched prepared pattern
'continue.html' at file:/home/pielasze/webapp/website/sitemap.xmap:51:42
DEBUG   (2005-01-13) 18:22.46:487   [sitemap] (/website/continue.html)
PoolThread-1/InvokeContext: 
Current Sitemap Parameters:
LEVEL 1
PARAM: '0' VALUE: 'continue.html'

INFO    (2005-01-13) 18:22.46:514   [sitemap] (/website/continue.html)
PoolThread-1/ForwardRedirector: Redirecting to 'cocoon:/view/newAccountForm.cforms'
DEBUG   (2005-01-13) 18:22.46:514   [sitemap] (/website/continue.html)
PoolThread-1/EnvironmentWrapper: Setting uri (prefix=null,
uris=view/newAccountForm.cforms)
DEBUG   (2005-01-13) 18:22.46:515   [sitemap] (/website/continue.html)
PoolThread-1/MatchNode: Matcher 'request-parameter' matched pattern
'continuation-id' at file:/home/pielasze/webapp/website/sitemap.xmap:54:69
DEBUG   (2005-01-13) 18:22.46:515   [sitemap] (/website/continue.html)
PoolThread-1/InvokeContext: 
Current Sitemap Parameters:
LEVEL 2
PARAM: '1' VALUE: '0e311f5563185b6f127a302c198e3d8e7c3b1e5e'
LEVEL 1
PARAM: '../0' VALUE: 'continue.html'

INFO    (2005-01-13) 18:22.46:516   [sitemap] (/website/continue.html)
PoolThread-1/ForwardRedirector: Redirecting to 'cocoon:/view/newAccountForm.cforms'
DEBUG   (2005-01-13) 18:22.46:516   [sitemap] (/website/continue.html)
PoolThread-1/EnvironmentWrapper: Setting uri (prefix=null,
uris=view/newAccountForm.cforms)
DEBUG   (2005-01-13) 18:22.46:516   [sitemap] (/website/continue.html)
PoolThread-1/MatchNode: Matcher 'request-parameter' matched pattern
'continuation-id' at file:/home/pielasze/webapp/website/sitemap.xmap:54:69
DEBUG   (2005-01-13) 18:22.46:516   [sitemap] (/website/continue.html)
PoolThread-1/InvokeContext: 
Current Sitemap Parameters:
LEVEL 3
PARAM: '1' VALUE: '0e311f5563185b6f127a302c198e3d8e7c3b1e5e'
LEVEL 2
PARAM: '../1' VALUE: '0e311f5563185b6f127a302c198e3d8e7c3b1e5e'
LEVEL 1
PARAM: '../../0' VALUE: 'continue.html'

etc.

Do you have any working formset (e.g. some registration) with hidden
continuation.id?
Examples (cocooc 2.1.6, blocks/forms/registration) do not work on our two RedHat
9 machines. The only working example (petstore) is fine, but while not hidden
cont-id.

best regards,
roman



-- 
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.

Mime
View raw message