malthe/chameleon — Issue #67: Invalid syntax on /error_log for plone 4.1
Author: djay
Created: 2011-10-10 23:54:13+00:00
State: open

When accessing /error_log/manage_workspace on 4.1 site I get

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 Shared.DC.Scripts.Bindings, line 322, in __call__
Module Shared.DC.Scripts.Bindings, line 359, in _bindAndExec
Module Products.PageTemplates.PageTemplateFile, line 130, in _exec
Module Products.PageTemplates.PageTemplate, line 79, in pt_render
Module zope.pagetemplate.pagetemplate, line 107, in pt_render
Warning: Compilation failed
Warning: chameleon.exc.ExpressionError: invalid syntax - String: "len(value) < 70 and value or value[:70] + '...'" - Filename: manage_main - Location: (88:27)
PTRuntimeError: ['Compilation failed', u'chameleon.exc.ExpressionError: invalid syntax\n\n - String: "len(value) < 70 and value or value[:70] + \'...\'"\n - Filename: manage_main\n - Location: (88:27)']