Open jeanferri opened 8 years ago
@jeanferri Looks like https://github.com/collective/collective.weather/blob/master/src/collective/weather/Extensions/Install.py#L21 gets all possible content from a catalog query. Comments are added to the catalog, but you cannot assign portlets to them. A fast fix would be to wrap line 38 of the Install.py file in a try - except in order to go on, or replace getMultiAdapter with queryMultiAdapter and check if you have a mapping.
A better fix would be to do a slightly better query to the catalog to just get content that can be adapted
I get an error when uninstalling collective.weather on Plone 4.3.6. Some idea? The traceback is: