id summary reporter owner description type status priority component severity resolution keywords cc release 6503 Error in validate_wiki_page (spamfilter) Oliver Metz Alec Thomas "Running trac-0.11.7 with latest spamfilter and addcomment plugins gave me the following error: {{{ 2010-01-28 14:35:06,983 Trac[formatter] ERROR: Macro AddComment(None) failed:. Traceback (most recent call last): File ""/usr/local/lib/python2.6/dist-packages/Trac-0.11.7stable_r0-py2.6.egg/trac/wiki/formatter.py"", line 484, in _macro_formatter return macro.process(args, in_paragraph=True) File ""/usr/local/lib/python2.6/dist-packages/Trac-0.11.7stable_r0-py2.6.egg/trac/wiki/formatter.py"", line 180, in process text = self.processor(text) File ""/usr/local/lib/python2.6/dist-packages/Trac-0.11.7stable_r0-py2.6.egg/trac/wiki/formatter.py"", line 167, in _macro_processor text) File ""build/bdist.linux-x86_64/egg/addcomment/macro.py"", line 125, in expand_macro for field, message in manipulator.validate_wiki_page(req, page): File ""build/bdist.linux-x86_64/egg/tracspamfilter/adapters.py"", line 88, in validate_wiki_page text = req.args['text'] KeyError: text }}} This occured only for non-admin users. Attached patch fixes this. Is this the right way to fix the problem?" defect new normal AddCommentMacro normal 0.11