You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please could anyone help in resolving the following problem when I attempt to insert an image (also an internal link) into a Newsletter Issue. This occurs after clicking on the 'Browse server' button. I can however, insert an image into the Newsletter item.
Traceback (innermost last):
Module ZPublisher.Publish, line 126, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 46, in call_object
Module collective.ckeditor.browser.ckeditorfinder, line 46, in call
Module collective.plonefinder.browser.finder, line 276, in call
Module collective.plonefinder.browser.finder, line 502, in finderResults
Module collective.plonefinder.browser.finder, line 59, in finderTopicsQueryCatalog
Module Products.ATContentTypes.content.topic, line 370, in buildQuery
TypeError: 'NoneType' object is not iterable
It was suggested at EasyNewsletter GitHub that it was a ckeditor or collective.plonefinder issue. However, I don't have this problem with other content types.
Thanks,
Richard
Plone 4.1.5
EasyNewsletter 2.6.11
collective.ckeditor 3.6.6
I've also tried Kupu, which works fine, so it looks like an issue related to CKEditor?
The text was updated successfully, but these errors were encountered:
I think the issue comes from ATContenTypes itself.
I have the same issue:
Traceback (innermost last):
Module ZPublisher.Publish, line 126, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 46, in call_object
Module collective.ckeditor.browser.ckeditorfinder, line 48, in __call__
Module collective.plonefinder.browser.finder, line 276, in __call__
Module collective.plonefinder.browser.finder, line 502, in finderResults
Module collective.plonefinder.browser.finder, line 59, in finderTopicsQueryCatalog
Module Products.ATContentTypes.content.topic, line 370, in buildQuery
TypeError: 'NoneType' object is not iterable
In fact it appears that ENLIssue.py inherits from ATTopic
But if no topic is created in the newsletter issue, the topic object is None and the line result.update below
generates an 'Type Error' above.
Thus the try/Except from ATContentTypes/content/topic.py:370 miss the case : except (AttributeError, Unauthorized): # oh well, can't find parent, or it isn't a Topic. and should be:
except (TypeError, AttributeError, Unauthorized)
or just
except:
if acquire:
try:
# Tracker 290 asks to allow combinations, like this:
# parent = aq_parent(self)
clear_start = True
parent = aq_parent(aq_inner(self))
result.update(parent.buildQuery())
except (*TypeError*, AttributeError, Unauthorized): # oh well, can't find parent, or it isn't a Topic.
pass
HI,
Please could anyone help in resolving the following problem when I attempt to insert an image (also an internal link) into a Newsletter Issue. This occurs after clicking on the 'Browse server' button. I can however, insert an image into the Newsletter item.
Traceback (innermost last):
Module ZPublisher.Publish, line 126, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 46, in call_object
Module collective.ckeditor.browser.ckeditorfinder, line 46, in call
Module collective.plonefinder.browser.finder, line 276, in call
Module collective.plonefinder.browser.finder, line 502, in finderResults
Module collective.plonefinder.browser.finder, line 59, in finderTopicsQueryCatalog
Module Products.ATContentTypes.content.topic, line 370, in buildQuery
TypeError: 'NoneType' object is not iterable
It was suggested at EasyNewsletter GitHub that it was a ckeditor or collective.plonefinder issue. However, I don't have this problem with other content types.
Thanks,
Richard
Plone 4.1.5
EasyNewsletter 2.6.11
collective.ckeditor 3.6.6
I've also tried Kupu, which works fine, so it looks like an issue related to CKEditor?
The text was updated successfully, but these errors were encountered: