Edgewall Software
Modify

Opened 19 years ago

Closed 18 years ago

Last modified 18 years ago

#2255 closed defect (fixed)

emailfilter.py fails with Ticket' object has no attributes

Reported by: Markus Tacker <m@…> Owned by: Jonas Borgström
Priority: normal Milestone: 0.10
Component: ticket system Version: 0.9.4
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

source:/trunk/contrib/emailfilter.py#1831

Command died with status 1: "/etc/mail/trac-ticket-test.py".
Command output: 
Traceback (most recent call last):
   File "/etc/mail/trac-ticket-test.py", line 64, in ?
     tktparser.parse(sys.stdin)
   File "/etc/mail/trac-ticket-test.py", line 58, in parse
     if tkt.get('description'): AttributeError: 'Ticket' object has no attribute 'get' )

Removing ling 58 makes it work.

Also it would be great that a new ticket notification is sent.

Attachments (0)

Change History (2)

comment:1 by dluke@…, 18 years ago

Summary: emailfilter.py fails with emailfilter.py fails with Ticket' object has no attributes
Version: devel0.9.4

This appears to be still the case with the current release version (0.9.4).

comment:2 by Christopher Lenz, 18 years ago

Milestone: 0.10
Resolution: fixed
Status: newclosed

Fixed in [2949].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.