[ckan-dev] form POST question
David Read
david.read at okfn.org
Wed Mar 2 11:01:32 UTC 2011
Seb,
Cheers for this. There seem to be two issues on this page:
a) PHP plugin 'suhosin' limiting the length of requests (not relevant to us)
b) IE6 tripping up on special characters pasted in from Word:
three-dots-as-one-char - chr(133)
long dash - chr(150)
double quotation mark - chr(147)
I'll ask an IE6 user about the latter, but it seems curious that it
would work just by resubmitting the same form content, so am still
favouring the truncation argument. TCP is supposed to be reliable, but
I wonder if in practice it isn't always 100%?
David
On 2 March 2011 10:21, Seb Bacon <seb.bacon at gmail.com> wrote:
> Could it be this bug?
>
> http://bugs.php.net/bug.php?id=22427#1158232010
>
> Seb
>
> On 28 February 2011 18:14, David Read <david.read at okfn.org> wrote:
>> Hi all,
>>
>> I'm just investigating an exception that CKAN sees occasional, over
>> the Form API, as no doubt plenty of you have lots of good experience
>> with different browsers and form POSTs.
>>
>> Once or twice per month we get an exception "exceptions.KeyError?"
>> when processing the fields in the form POST - the POST doesn't include
>> a particular field i.e. one or more that we believe were on the form
>> is not in the POST request we receive. It occurs both for creating and
>> editing packages, and it barfs on a different field each time. We
>> don't have currently have detailed logs, although that's setup now.
>>
>> I contacted the latest person to suffer this problem and he:
>> 1. is using IE6
>> 2. when he got the 'server error' response from the form submission,
>> he pressed 'refresh' and the form went in fine.
>>
>> This, and its rarity suggests to me that it is an intermittent error.
>> Do you think can we put this down to a disrupted internet connection
>> truncating the request? Aside from a better error message than 500, is
>> there something we can do to ease this?
>>
>> David
>>
>> _______________________________________________
>> ckan-dev mailing list
>> ckan-dev at lists.okfn.org
>> http://lists.okfn.org/mailman/listinfo/ckan-dev
>>
>
More information about the ckan-dev
mailing list