You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by depub2 <de...@mxsi.com> on 2004/03/30 08:39:53 UTC

Cocoon/woody windows-only platform defect

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.



Re: Cocoon/woody windows-only platform defect

Posted by Joerg Heinicke <jo...@gmx.de>.
On 09.04.2004 19:59, depub2 wrote:

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

We had this problem recently multiple times on both lists:

http://wiki.cocoondev.org/Wiki.jsp?page=FAQs
(last question)

Joerg


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


RE: Cocoon/woody windows-only platform defect

Posted by depub2 <de...@mxsi.com>.
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.



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