cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "depub2" <dep...@mxsi.com>
Subject Cocoon/woody windows-only platform defect
Date Tue, 30 Mar 2004 06:39:53 GMT
Defect:

The following defect is limited to the MS windows platform,
it does not occur
on the linux platform. Both platforms were setup with tomcat
4.1.29,
and cocoon 2.1.4.

On the windows platorm, a woody form will lose it's data
when
the enctype="multipart/form-data" is specified in the form
template,
for example:

<wt:form-template action="#{$continuation/id}.kont"
method="POST" enctype="multipart/form-data">

This enctype is required for proper operation of the upload
widget.

In the test case, (very similar to the XML Binding demo), a
flowscript
which uses the showForm() function does not exit.

It is believed that the showForm() call in the flowscript
never exits because
validation always fails because we have a required field
(which is filled
in with valid data by the user) and that field is null
because the
widget is not being updated with the request data because of
this defect
when enctype="multipart/form-data".

Again, this problem only occurs on the MS Windows platform
and works
fine on a linux platform. The problem does not appear to be
browser
dependent.

To see the problem for yourself, simply add
enctype="multipart/form-data"
to the form-template in the XML Binding sample.



Mime
View raw message