[Zope-CMF] Zope2.12.3 zexp import error
Jens Vagelpohl
jens at dataflake.org
Tue Feb 9 07:46:17 EST 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 2/9/10 13:27 , thomas.dingeldey at camao.de wrote:
> Module Products.camaoCms.container.masterpage, line 59, in
> handle_new_masterpage
> Module OFS.ObjectManager, line 332, in _setObject
> Module Products.CMFCore.PortalFolder, line 313, in _checkId
> Module OFS.ObjectManager, line 116, in checkValidId
> BadRequest: The id "de-DE" is invalid - it is already in use.
>
> Anyone out there who has a solution or a hint how to fix this problem?
Your event handler "handle_new_masterpage" should be rewritten to look
if the object it wants to instantiate already exists. If it exists it
should obviously not try to instantiate it again.
jens
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
iEYEARECAAYFAktxWRkACgkQRAx5nvEhZLJC0QCgqfTl6HOpgOCtJc1yNwKFRGZi
aCIAoK1dEMlaiW8fCL+o0JSsf60L7ltb
=CsZU
-----END PGP SIGNATURE-----
More information about the Zope-CMF
mailing list