Modify ↓
Opened 9 years ago
Closed 9 years ago
#346 closed enhancement (fixed)
too eager subject parsing in ticket update
Reported by: | thomas.moschny@… | Owned by: | bas |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | email2trac | Version: | 2.8.4 |
Keywords: | Cc: |
Description
For this example subject
[hic] #1529?owner=bas,priority=medium: Re: LRZ
the fields part is parsed as:
owner=bas,priority=medium: Re
so in the end, the ticket field priority would be set to
medium: Re
This can be easily fixed:
-
email2trac.py.in
1859 1859 # 1860 1860 ticket_regex = r''' 1861 1861 (?P<new_fields>[#][?].*) 1862 |(?P<reply>(?P<id>[#][\d]+)(?P<fields>\? .*)?:)1862 |(?P<reply>(?P<id>[#][\d]+)(?P<fields>\?[^:]*)?:) 1863 1863 ''' 1864 1864 1865 1865 ## Check if FullBlogPlugin is installed
Attachments (0)
Change History (2)
comment:1 Changed 9 years ago by bas
- Status changed from new to assigned
- Type changed from defect to enhancement
comment:2 Changed 9 years ago by bas
- Resolution set to fixed
- Status changed from assigned to closed
In 657:
Note: See
TracTickets for help on using
tickets.
Thanks I will apply it.