Changeset 456


Ignore:
Timestamp:
07/23/10 14:40:36 (13 years ago)
Author:
bas
Message:

Mail was lost when ticket_update was disabled and ticket reply was detected

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r443 r456  
    77       - set.logger.error must be self.logger.error
    88    Reported by:  adam dot lucke at srd-berlin dot de
     9    Author: Bas van der Vlies
     10
     11    * Mail was lost when 'ticket_update' was disabled and a ticket
     12      reply was detected.
    913    Author: Bas van der Vlies
    1014
  • trunk/email2trac.py.in

    r455 r456  
    730730                self.logger.debug("function ticket_update")
    731731
     732                if not self.parameters.ticket_update:
     733                        self.logger.debug("ticket_update disabled")
     734                        return False
     735
    732736                # Must we update ticket fields
    733737                #
     
    748752                        self.id = int(id[1:])
    749753
    750                 self.logger.debug("function ticket_update id %s" %id)
     754                self.logger.debug("ticket_update id %s" %id)
    751755
    752756                # When is the change committed
     
    14841488                        # update ticket + fields
    14851489                        #
    1486                         if result.group('reply') and self.parameters.ticket_update:
     1490                        #if result.group('reply') and self.parameters.ticket_update:
     1491                        if result.group('reply'):
    14871492                                self.system = 'ticket'
    14881493
Note: See TracChangeset for help on using the changeset viewer.