Validating invariants with zope.schema.getValidationErrors and zope.schema.Object
Hello, does anyone know why zope.schema.Object does not check invariants during validation process? If object conforms to schema it implies that object should conform all schema invariants, insn't it? Thanks. -- Andrey Popp phone: +7 911 740 24 91 e-mail: 8mayday@gmail.com
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Andrey Popp wrote:
does anyone know why zope.schema.Object does not check invariants during validation process? If object conforms to schema it implies that object should conform all schema invariants, insn't it?
Likely you have found a bug. please report it to the zope.schema tracker: https://bugs.launchpad.net/zope.schema Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkvN71QACgkQ+gerLs4ltQ66CgCeNuk+9zlpEGTbEqTIsfalipD6 fGkAoKIeOzTBFRAFEL8mxSr4Iu2e2/K2 =0/QY -----END PGP SIGNATURE-----
Ok, I've created bug report: https://bugs.launchpad.net/zope.schema/+bug/567520 On Tue, Apr 20, 2010 at 10:15 PM, Tres Seaver <tseaver@palladion.com> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Andrey Popp wrote:
does anyone know why zope.schema.Object does not check invariants during validation process? If object conforms to schema it implies that object should conform all schema invariants, insn't it?
Likely you have found a bug. please report it to the zope.schema tracker:
https://bugs.launchpad.net/zope.schema
Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkvN71QACgkQ+gerLs4ltQ66CgCeNuk+9zlpEGTbEqTIsfalipD6 fGkAoKIeOzTBFRAFEL8mxSr4Iu2e2/K2 =0/QY -----END PGP SIGNATURE-----
-- Andrey Popp phone: +7 911 740 24 91 e-mail: 8mayday@gmail.com
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Andrey Popp wrote:
Ok, I've created bug report: https://bugs.launchpad.net/zope.schema/+bug/567520
Thank you! Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkvOK8YACgkQ+gerLs4ltQ4oQQCfShBdLt4vCoHIisKyT+OmnXRH 7psAoLMu+yHBfULPdgiK3fDA3k4R7AR5 =BfKL -----END PGP SIGNATURE-----
participants (2)
-
Andrey Popp -
Tres Seaver