On 5/24/11 7:54 AM, Andreas Jung wrote:
[..]
So adding the propertysheet through the fixture seems to work but
the properties are not added..no idea why....however it works
perfectly when I add the add-on through add/remove programs inside Plone
site setup.
Any idea why this is failing in testing environment (Plone 4.0.5)?
You cannot use 'objectIds' to test for the existence of property ids.
Use 'propertyIds' instead.
>>> exprops = ptool.extensions_properties
>>> exprops.objectIds()
()
>>> exprops.propertyIds()
['title', 'phone_number_types', 'country_names', 'neuroinf_topics',
'incf_programs', 'training_levels', 'resource_types', 'incf_activities',
'deadline_types', 'event_types', 'position_types', 'target_groups',
'funding_types']
>>>
Cheers,
Raphael
Andreas
_______________________________________________
Product-Developers mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/plone-product-developers