Closed GiaBen closed 1 year ago
This issue fixed by replacing line 377 in ZopePageTemplate.py if REQUEST and 'file' in REQUEST: replace with if REQUEST and 'file' in REQUEST and REQUEST.get('file'):
Thanks Yurij, it makes sense (now). It works just fine.
BUG/PROBLEM REPORT / FEATURE REQUEST
What I did:
Try to add the product Page Template within the ZMI with id and no file
What I expect to happen:
To see the product appears in the ZMI
What actually happened:
I got the following error: Traceback (innermost last):
AttributeError: 'str' object has no attribute 'filename'
What version of Python and Zope/Addons I am using:
python 3.11.3
Linux python 3.11.3 zope 5.8.2