--- a/src/pyams_content_es/component/extfile.py Fri Nov 10 13:24:51 2017 +0100
+++ b/src/pyams_content_es/component/extfile.py Fri Dec 08 11:19:25 2017 +0100
@@ -34,7 +34,7 @@
for paragraph in IParagraphContainer(context).values():
associations = IAssociationContainer(paragraph, {})
for extfile in associations.values():
- if not IBaseExtFile.providedBy(extfile):
+ if not (IBaseExtFile.providedBy(extfile) and extfile.data):
continue
extfiles.append({'title': extfile.title,
'description': extfile.description})