cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Helma van der Linden (JIRA)" <j...@apache.org>
Subject [jira] Reopened: (COCOON-256) FormValidation fails because MapStackResolver.buildParameters(..) crashes
Date Tue, 25 Oct 2005 13:17:58 GMT
     [ http://issues.apache.org/jira/browse/COCOON-256?page=all ]
     
Helma van der Linden reopened COCOON-256:
-----------------------------------------


reopened just to set the resolution to fixed

> FormValidation fails because MapStackResolver.buildParameters(..) crashes
> -------------------------------------------------------------------------
>
>          Key: COCOON-256
>          URL: http://issues.apache.org/jira/browse/COCOON-256
>      Project: Cocoon
>         Type: Bug
>   Components: - Components: Sitemap
>     Versions: 2.0.5-dev (Current CVS)
>  Environment: Operating System: Windows XP
> Platform: PC
>     Reporter: horu
>     Assignee: Cocoon Developers Team

>
> In the tutorial sitemap:
>  
> <map:action-sets>
>   <map:action-set name="process">
>    <map:act type="form" action="Create Department">
>      <map:parameter name="validate-set" value="add"/>
>      <map:act type="dbAdd"/>
>    </map:act>
>  etc..
>  
> ..can't get processed because the MapStackResolver fails to resolve "validate-
> set" := "add"
>  
> This seems to be a show stopper for formvalidation.
> WARN    (2002-04-29) 10:07.08:999   [sitemap](/ba/tutorial/create-dept.html) 
> HttpProcessor[8080][5]/PipelineNode: Error while processing pipeline at 
> file:/C:/eclipseworkspace/test/webapp/tutorial/sitemap.xmap:84:17
> java.lang.ClassCastException: java.lang.String
>  at org.apache.cocoon.components.treeprocessor.MapStackResolver.buildParameters
> (MapStackResolver.java:160)
>  at org.apache.cocoon.components.treeprocessor.sitemap.ActionSetNode.call
> (ActionSetNode.java:158)
>  at org.apache.cocoon.components.treeprocessor.sitemap.ActSetNode.invoke
> (ActSetNode.java:107)
>  at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeN
> odes(AbstractParentProcessingNode.java:85)
>  at 
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke
> (PreparableMatchNode.java:159)
>  at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeN
> odes(AbstractParentProcessingNode.java:109)
>  at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke
> (PipelineNode.java:140)
>  at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeN
> odes(AbstractParentProcessingNode.java:109)
>  at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke
> (PipelinesNode.java:144)
>  at org.apache.cocoon.components.treeprocessor.TreeProcessor.process
> (TreeProcessor.java:318)
>  at org.apache.cocoon.components.treeprocessor.TreeProcessor.process
> (TreeProcessor.java:289)
>  at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke
> (MountNode.java:131)
>  at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeN
> odes(AbstractParentProcessingNode.java:85)
>  at 
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke
> (PreparableMatchNode.java:159)
>  at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeN
> odes(AbstractParentProcessingNode.java:109)
>  at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke
> (PipelineNode.java:140)
>  at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeN
> odes(AbstractParentProcessingNode.java:109)
>  at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke
> (PipelinesNode.java:144)
>  at org.apache.cocoon.components.treeprocessor.TreeProcessor.process
> (TreeProcessor.java:318)
>  at org.apache.cocoon.components.treeprocessor.TreeProcessor.process
> (TreeProcessor.java:289)
>  at org.apache.cocoon.Cocoon.process(Cocoon.java:588)
>  at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1002)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> (ApplicationFilterChain.java:247)
>  at org.apache.catalina.core.ApplicationFilterChain.doFilter
> (ApplicationFilterChain.java:193)
>  at org.apache.catalina.core.StandardWrapperValve.invoke
> (StandardWrapperValve.java:243)
>  at org.apache.catalina.core.StandardPipeline.invokeNext
> (StandardPipeline.java:566)
>  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>  at org.apache.catalina.core.StandardContextValve.invoke
> (StandardContextValve.java:190)
> ...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message