Edgewall Software
Modify

Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#2255 closed defect (fixed)

emailfilter.py fails with Ticket' object has no attributes

Reported by: Markus Tacker <m@…> Owned by: jonas
Priority: normal Milestone: 0.10
Component: ticket system Version: 0.9.4
Severity: normal Keywords:
Cc:
Release Notes:
API 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 Changed 9 years ago by dluke@…

  • Summary changed from emailfilter.py fails with to emailfilter.py fails with Ticket' object has no attributes
  • Version changed from devel to 0.9.4

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

comment:2 Changed 9 years ago by cmlenz

  • Milestone set to 0.10
  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [2949].

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed The owner will remain jonas.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from jonas to the specified user.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.