-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ross Patterson wrote:

> Your ZCML doesn't incldue five:registerPackage 

Does not help after adding registerPackage:

http://svn.plone.org/svn/collective/Products.EasyNewsletter/trunk/Products/EasyNewsletter/configure.zcml

>nor does your test setup
> call installProduct.

installProduct() is of course called in the setup of the layer
(see base.py).

and all EasyNewsletter type are registered correctly with portal_types:

- -> self.portal.invokeFactory('EasyNewsletter', id='newsletter')

(Pdb) self.portal.portal_types.objectIds()
['ATBooleanCriterion', 'ATCurrentAuthorCriterion', 'ATDateCriteria',
'ATDateRangeCriterion', 'ATListCriterion', 'ATPathCriterion',
'ATRelativePathCriterion', 'ATPortalTypeCriterion',
'ATReferenceCriterion', 'ATSelectionCriterion', 'ATSimpleIntCriterion',
'ATSimpleStringCriterion', 'ATSortCriterion', 'Discussion Item',
'Document', 'Event', 'File', 'Folder', 'Image', 'Link', 'News Item',
'Plone Site', 'TempFolder', 'Topic', 'EasyNewsletter', 'ENLIssue',
'ENLSubscriber', 'ENLTemplate']

(Pdb) 'EasyNewsletter' in self.portal.portal_types.objectIds()
True

Andreas


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQGUBAEBAgAGBQJM528RAAoJEADcfz7u4AZjSWgLwMLUl1GSt72NZq8lWxC+6wiE
aZM9jmRqgK11vQvOjlXhOJllnMIGY2Y4WSNQ/kEmr6FvWVz5K8AIN791AU8C3aFc
SFRmAhZvhOoNmKS+iyAbPDd7HRDWIjoZ2Gk4BSXGVqBBV5CPmgSgXNagBdTwXW1N
ToeeKGJXtqoRkAxRnbizBaDJcayMN35YJPztXwA137LGuU1mvuE4xTSa9qNpZ6Ua
zDknAGEN8SIuSF87XWPxASLWzbfuymLm00NN3GrqGPDDKZgc1hJz/H7X+DMlcvgJ
YGWw7rsHBgcF1pKtgrxEvUr8ceihTXE4J+A2FB0wvhOIAZEb+z41GpxfUr62HTkj
JWV5mzc9xoRz7WR/3jA9s/SP73FygLg/DRb5fkvy8Ix7sUMsCEoaP394X1j07pbA
ktgTWOULcXeJ6QFE+bPVlJfNizYjJK+iltQElQhGFsE6mMc/1HV3QT9G6/mB72Lj
hIvyaSh6rovssS1b/1/9JLSccZc9FkI=
=n+fe
-----END PGP SIGNATURE-----

<<attachment: lists.vcf>>

_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to