Context object changes breaks email2trac compatibility
|Reported by:||keith@…||Owned by:||hasienda|
email2trac trac: File "/usr/local/bin/email2trac", line 1643, in parse self.discussion_topic_reply(m, subject[result.end('topic'):]) email2trac trac: File "/usr/local/bin/email2trac", line 1350, in discussion_topic_reply topic = api.get_topic(context, self.id) email2trac trac: File "build/bdist.freebsd-7.2-STABLE-i386/egg/tracdiscussion/api.py", line 1544, in get_topic if subscriber not in context.users: email2trac trac: AttributeError: 'Context' object has no attribute 'users'
I'm running trac 0.12.1 and the latest svn of discussion plugin and email2trac.
I think changeset 9770 might have something to do with this: http://trac-hacks.org/changeset/9770/discussionplugin/0.11/tracdiscussion/api.py
I opened a ticket w/ the email2trac devs as well, I don't know enough about trac hacking to figure out if the context object needs to be changed in email2trac or if something in discussion plugin needs to be changed. Please let me know if I can provide more information or test patches. Thanks
Change History (8)
comment:1 Changed 6 years ago by Blackhex
- Priority changed from normal to high
- Severity changed from normal to major
- Status changed from new to assigned