Changeset 524 for trunk


Ignore:
Timestamp:
06/15/11 10:08:22 (13 years ago)
Author:
bas
Message:

Fixed and error in ticket_update_fields. Always check if it is a valid ticket field for trac

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r521 r524  
     12.X.X
     2  * Fixed an error in ticket_update_fields. Always check if given ticket
     3    field is a valid ticket field for trac. The error could be triggered
     4    by:
     5      * ticket_update_by_subject
     6      * inline_properties
     7
     8    Reported by: Maarten van Ingen (SARA)
     9    Fixed by: Bas van der Vlies
     10
     11
    1122.1.0 (2011-6-6)
    213  * Convert all email addresses and author names to lower case in compare
  • trunk/debian/changelog

    r521 r524  
     1email2trac (2.1.1-1) stable; urgency=low
     2
     3  * See Changelog
     4
     5 -- bas van der Vlies <basv@sara.nl>  Wed, 15 Jun 2011 10:06:32 +0200
     6
    17email2trac (2.1.0-1) stable; urgency=low
    28
  • trunk/email2trac.py.in

    r521 r524  
    742742        #
    743743        for field,value in user_dict.items():
     744
    744745            if self.parameters.debug:
    745746                s = 'user_field\t %s = %s' %(field,value)
    746747                self.print_unicode(s)
     748
     749            if not field in ticket.fields: 
     750                self.logger.debug('%s is not a valid field for tickets' %(field))
     751                continue
    747752
    748753            ## To prevent mail loop
  • trunk/email2trac.spec

    r522 r524  
    11Summary: Utilities for converting emails to trac tickets
    22Name: email2trac
    3 Version: 2.1.0
     3Version: 2.1.1
    44Release: 1
    55License: GPL
Note: See TracChangeset for help on using the changeset viewer.