Modify

Opened 8 years ago

Closed 7 years ago

#305 closed enhancement (fixed)

email2trac raises exception for ticket update when agilo is installed

Reported by: smcclure@… Owned by: bas
Priority: minor Milestone:
Component: email2trac Version: 2.6.2
Keywords: Cc:

Description (last modified by bas)

I have trac version 0.12.0 and agilo 0.9.5. When I ran email2trac to update a ticket I had a traceback. I fixed it with this patch:

$ diff email2trac email2trac.orig 
982,987d981
<             # Agilo specific modifications
<             from agilo.utils.config import AgiloConfig
<             if AgiloConfig(self.env).is_agilo_enabled:
<                 from agilo.ticket.model import AgiloTicket
<                 tkt = AgiloTicket(self.env, self.id, self.db)
< 
1217,1222d1210
<         # Agilo specific modifications
<         from agilo.utils.config import AgiloConfig
<         if AgiloConfig(self.env).is_agilo_enabled:
<             from agilo.ticket.model import AgiloTicket
<             tkt = AgiloTicket(self.env)
< 

Attachments (0)

Change History (3)

comment:1 Changed 7 years ago by bas

  • Description modified (diff)
  • Status changed from new to assigned
  • Type changed from defect to enhancement

comment:2 Changed 7 years ago by bas

can you test trunk version i have added support for agilo [622]

comment:3 Changed 7 years ago by bas

  • Resolution set to fixed
  • Status changed from assigned to closed

In 624:

addede -A/--agilo to the option help, closes #305,#316

Add Comment

Modify Ticket

Change Properties
Action
as closed The owner will remain bas.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.