[ZPT] post method

Fabiano Weimar dos Santos fabiano@x3ng.com.br
17 Jun 2002 11:59:46 -0300


--=-/PFoNZWtGHCupHrx84lC
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

look in your form source code and search duplicated fields (with two, or
more, fields) with the same name. Thus, the REQUEST will be a list
instead of a single field.

Ass. Xiru

Em Seg, 2002-06-17 =E0s 08:24, matveev@prime.ru escreveu:
>=20
> Hello All!!!
> I appologise for my language mistakes.
> I use ZPT. When I've been used dtml, there were no problems.
> A very strange situation happens after submiting form's data.
> The data of fields doubble, that's why they are not elaborated in the rig=
ht way
> Such an error occurs once in 100 cases.
> I use the POST method to submit the form.
> Have anybody faced with the same problem?
>=20
> The REQUEST when error occurs:
>=20
> form:
> subfield_company_info_date_month
> ['05', '05']
> info_id
> ['115', '115']
> subfield_company_info_date_day
> ['27', '27']
> cur_info_id
> ['115', '115']
> add_submit
> '\xe9\xda\xcd\xc5\xce\xc9\xd4\xd8'
> field_company_info_header
> ['\xfe\xd4\xcf \xd4\xc1\xcb\xcf\xc5 \xc4\xcf\xd3\xd4\xcf\xd7\xc5\xd2\xce\=
xcf\xd3\xd4\xd8 \xc9
> \xc1\xcb\xd4\xd5\xc1\xcc\xd8\xce\xcf\xd3\xd4\xd8 \xd3\xc9\xd3\xd4\xc5\xcd=
\xd9', '\xfe\xd4\xcf \xd4\xc1\xcb\xcf\xc5
> \xc4\xcf\xd3\xd4\xcf\xd7\xc5\xd2\xce\xcf\xd3\xd4\xd8 \xc9 \xc1\xcb\xd4\xd=
5\xc1\xcc\xd8\xce\xcf\xd3\xd4\xd8
> \xd3\xc9\xd3\xd4\xc5\xcd\xd9']
> subfield_company_info_date_year
> ['2002', '2002']
> field_foto
> [<ZPublisher.HTTPRequest.FileUpload instance at 0xa38a6c4>, <ZPublisher.H=
TTPRequest.FileUpload instance at 0x9e92aa4>] =20
>=20
> ....
>=20
> HTTP_USER_AGENT
> 'Mozilla/4.0 (compatible; MSIE 5.01; Windows 98)'
>  =20
>=20
> --=20
> Best regards,                          www.uralfirm.ru
> Dmitry Matveev                         mailto:matveev@uralfirm.ru
>=20
>=20
>=20
> _______________________________________________
> ZPT mailing list
> ZPT@zope.org
> http://lists.zope.org/mailman/listinfo/zpt
>=20
--=20
Fabiano Weimar dos Santos (Xiru) <fabiano@x3ng.com.br>
X3ng Web Technology <http://www.x3ng.com.br>

--=-/PFoNZWtGHCupHrx84lC
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Para mais informações veja http://www.gnupg.org

iD8DBQA9DfliTqbDpNXhEbERAuHDAJ9BDJ1EAL+VpjpCsg3Gv7opyOryCwCgwznC
fYTigDwd5x7kVYlYm54Y5EU=
=TGQ4
-----END PGP SIGNATURE-----

--=-/PFoNZWtGHCupHrx84lC--