On 11/19/10 10:57 PM, Ross Patterson wrote:
> Andreas Jung <[email protected]> writes:
>
>> 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).
> My bad, missed the installProduct.
installProduct is a deferred call just like setupPloneSite and your
setup_registration.  So when you call it from within setup_registration,
it adds the deferred function too late.  I think it'll work if you put
the installProduct line outside of setup_registration.

As for the five:registerPackage, you shouldn't need that since this
package is in the Products namespace.
----------              
David Glick
 Web Developer
 [email protected]
 206.286.1235x32

Groundwire: You Are Connected           
 http://groundwire.org          

Online tools and strategies for the environmental movement.  Sign up for 
Groundwire News!
 http://groundwire.org/email-capture

Check out our 2010 Website Benchmarks Report. How do you stack up?
 http://groundwire.org/resources/articles/2010-website-benchmarks-report

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

Reply via email to