[ZPT] bug?
Peter Bengtsson
mail@peterbe.com
Wed, 23 May 2001 12:38:09 +0200
I innocently created a new Page Template and clicked Add & Edit
and I got this:
The object has that little Expand thing ticked and in the aquisition path
there are no Page Templates that define a macro.
<!-- Page Template Diagnostics
Macro expansion failed
exceptions.AttributeError: getDefault
('C:\\PROGRA~1\\zope\\lib\\python\\TAL\\TALInterpreter.py', 160,
'__init__', 'self.Default = engine.getDefault()')
('C:\\PROGRA~1\\zope\\lib\\python\\Products\\PageTemplates\\PageTemplate.py'
, 155, 'pt_render', 'tal=not source, strictinsert=0)()')
('C:\\PROGRA~1\\zope\\lib\\python\\Products\\PageTemplates\\PageTemplate.py'
, 186, 'read', 'return self.pt_render(source=1)')
-->