Consultor Eletrônico



Kbase P110338: GET-CGI-LIST fails with error (4058) when its returned value exceeds 32K in size
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   09/11/2010
Status: Verified

SYMPTOM(s):

WebSpeed errors when submitting the form with more than 32K of data

GET-CGI-LIST fails with error (4058) when its returned value exceeds 32K in size

**Attribute GET-CGI-LIST for the PSEUDO-WIDGET has an invalid value of . (4058)

**Attribute <attribute> for the <widget id> has an invalid value of <string>. (4058)

FACT(s) (Environment):

Progress error (4058) is raised by an internal function (such as get-field) inside the cgiutils.i file
There is a large amount of fields in the Web form being submitted by the user
There is an excessive number of fields in the POST data
The total length of all field names, in the form of a comma-delimited list, exceeds the limit of 32KBytes
WebSpeed 3.x
OpenEdge 10.x

CAUSE:

Enhancement request# OE00122746

CAUSE:

This is a Progress limitation. The WEB-CONTEXT:GET-CGI-LIST() method returns a character string containing a comma delimited list of CGI environment variable names and the Progress CHARACTER data-type is limited to 32K in size

FIX:


Enhancement Request# OE00122746 has been implemented.
Upgrade to OpenEdge 10.2B or later.

Along with internal changes, this introduces the get-fieldEx() and get-valueEx() functions to cgiutils.i.
These functions return a LONGCHAR, and are intended to be used in the cases where the unknown value is passed in to return the list of fields.


Workarounds:
Decrease the amount of fields in the Web form, or break it down into separate forms