Re: Data truncation problems

Joel Palmius <[email protected]> Tue, 21 Mar 2006 12:17:20 +0100 (CET)
Newsgroups gmane.comp.apache.mod-survey.general
Message-ID <[email protected]>
Never saw this happen with reasonably large posts inside MEMOs myself. You 
should easily get a few kilobytes of data inside a MEMO. But there are 
reasons why large posts could be truncated.

There are limitations in the http protocol automatically truncating very 
long data submission when using plain forms. For a GET submit, only 
something like 1k data is allowed in a submit, for POST this is larger 
although unknown (it is not defined, it is dependent on both browser and 
server). We currently use POST with no special encoding.

Further, the MEMO (in practise html's textarea) is limited in length. This 
limitation is also unknown.

For very long chunks of data (in the size of hundreds of k) inside one 
submit, one would have to use a different form encoding, and probably file 
uploads.

Could you post more details on the structure of the survey and how large 
the posted data was?

   // Joel


On Mon, 20 Mar 2006, Jennifer Kurkoski wrote:

> Hi all,
>
> I'm having two problems I'm hoping someone here can solve. This is the first
> (the second coming in a separate msg).
>
> I'm running mod_survey version 3.2.2.
>
> Data are being truncated when written to file. I have several MEMO blocks in
> my survey. I tested the curious behavior by posting large chunks of text (~3
> long-ish paragraphs) into the MEMO blocks in different configurations
> (skipping Q #1 & 4, for example). The result was always the same: The first
> instance of the text block would be cut off at some point into it and no
> other subsequent text blocks would apppear at all. Sadly, I discovered this
> bug w/ a live survey. Blah.
>
> I tried searching the archives but found nothing. Anyone have any idea
> what's going on?
>
> Many thanks!!
>
> - Jennifer
>
>
> --
> For best results, follow directions on bottle ...
> and use my permanent address:
>     [email protected]
>
Skickat av Joel Palmius <[email protected]>
till survey-discussion