[Zope3-checkins] CVS: Zope3/src/zope/app/publisher/browser - viewmeta.py:1.8

Albertas Agejevas alga@codeworks.lt
Mon, 3 Feb 2003 01:47:41 +0200


--5I6of5zJg18YgZEa
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Feb 03, 2003 at 12:19:44AM +0100, Ulrich Eck wrote:
> This change breaks component Adding with the following error:
>=20
> TypeError: super(type, obj): obj must be an instance or subtype of type
>=20
> i'll revert the change to make it work again.

My change was needed to make the local authentication services to
work.  Otherwise the class generated for add.pt does not have a
context which is needed to do the security checks using a local
authentication service in the browserDefault method.

Could you perchance write a unit test for the thing that I broke?

Thanks,
Albertas
--=20
Codeworks is available for Zope consulting -- http://www.codeworks.lt/

--5I6of5zJg18YgZEa
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE+Pa4dCYBFvOoRIPYRAiW/AKCrU5hYe3AoeZDOT5OtfkmcGIj+xgCdHNt5
Dy+/ZPPWnB88eYN9dXGCrFQ=
=+bAf
-----END PGP SIGNATURE-----

--5I6of5zJg18YgZEa--