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 2005/01/13 17:09:34 UTC

DO NOT REPLY [Bug 33083] New: - flowscript fails to continue for continuation-id passed as hidden form field (infinite loop)

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

           Summary: flowscript fails to continue for continuation-id passed
                    as hidden form field (infinite loop)
           Product: Cocoon 2
           Version: 2.1.6
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: Flowscript
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: roman@pielaszek.pl


Using CForms with flowscript. Continuations passed in URL work.
The following change made in blocks/petstore example, in the form:

FROM: <ft:form-template action="#{$continuation/id}.kont" method="POST">
TO:   <ft:form-template action="xxx" method="POST"><ft:continuation-id/>

and in sitemap:

FROM: <map:match pattern="*.kont">
        <map:call continuation="{1}"/>
      </map:match>
TO:   <map:match type="request-parameter" pattern="continuation-id">
       <map:call continuation="{request-param:continuation-id}"/>
      </map:match>

causes an infinite loop if the form has *more than one* field (form with single
string field worked for me). Continuation ids are passed to sitemap okay,
map:call occurs, but flowscript does not recognize them and starts a new flow.

Hidden continuations are *essential* for us and lack of them is a real blocker.
Thanks,
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.