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 8703] New: - FormValidation fails because MapStackResolver.buildParameters(..) crashes
Date Wed, 01 May 2002 16:26:53 GMT
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=8703>.
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=8703

FormValidation fails because MapStackResolver.buildParameters(..) crashes

           Summary: FormValidation fails because
                    MapStackResolver.buildParameters(..) crashes
           Product: Cocoon 2
           Version: Current CVS
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: sitemap components
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: horu@objectleague.com


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

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message