Custom Query (332 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (64 - 66 of 332)

Ticket Resolution Summary Owner Reporter
#323 invalid priority keyword from email subject line does not get set bas milki
Description

Sending an email using the subject line to set the priority doesn't work for me.

We have priority configured as follows: 0 Drop everything 1 Do now 2 Do next 3 Nice to have

I've attempted to set any number of values for the priority in the subject line

#?priority=1 #?priority=1 Do now #?priority=high #?priority="1 Do now"

Whatever I try, I can't get the new trac tickets to have the priority I want.

I have been able to set other properties: owner, component, type, etc. Only version fails to be set to a non-default value.

Suggestions on what I'm doing wrong or if there's a bug?

#428 invalid email2trac crashes with Python error bas anonymous
Description

When running email2trac 2.12.2 on CentOS7 with Python 2.7.5 and the commandline:

email2trac -d -v < msg.txt

using the msg.txt distributed with the application, parsing crashes. python does a trace dump as follows:

2018-05-06 16:54:59,457 email2trac test: function inline_properties 2018-05-06 16:54:59,457 email2trac test: function unique_attachment_names() 2018-05-06 16:54:59,457 email2trac test: function get_body_text() 2018-05-06 16:54:59,459 email2trac test: Traceback (most recent call last):

2018-05-06 16:54:59,459 email2trac test: File "/usr/local/bin/email2trac", line 2922, in <module>

tktparser.parse(sys.stdin)

2018-05-06 16:54:59,459 email2trac test: File "/usr/local/bin/email2trac", line 1863, in parse

self.parse_subject_field(m, subject, spam_msg)

2018-05-06 16:54:59,459 email2trac test: File "/usr/local/bin/email2trac", line 2008, in parse_subject_field

self.new_ticket(m, subject, spam_msg)

2018-05-06 16:54:59,459 email2trac test: File "/usr/local/bin/email2trac", line 1340, in new_ticket

self.id = tkt.insert()

2018-05-06 16:54:59,459 email2trac test: File "/usr/lib64/python2.7/site-packages/trac/ticket/model.py", line 261, in insert

db_values = self._to_db_types(self.values)

2018-05-06 16:54:59,459 email2trac test: File "/usr/lib64/python2.7/site-packages/trac/ticket/model.py", line 405, in _to_db_types

values[field] = _datetime_to_db_str(value, is_custom_field)

2018-05-06 16:54:59,460 email2trac test: File "/usr/lib64/python2.7/site-packages/trac/ticket/model.py", line 63, in _datetime_to_db_str

ts = to_utimestamp(dt)

2018-05-06 16:54:59,460 email2trac test: File "/usr/lib64/python2.7/site-packages/trac/util/datefmt.py", line 193, in to_utimestamp

diff = dt - _epoc

2018-05-06 16:54:59,460 email2trac test: TypeError?: unsupported operand type(s) for -: 'unicode' and 'datetime.datetime'

2018-05-06 16:54:59,460 email2trac test: saving email to /tmp/test_DeEDc.email2trac 2018-05-06 16:54:59,461 email2trac test: function get_message_parts() 2018-05-06 16:54:59,461 email2trac test: Message part: Main-Type: multipart 2018-05-06 16:54:59,461 email2trac test: Message part: Content-Type: multipart/mixed 2018-05-06 16:54:59,461 email2trac test: Skipping multipart container 2018-05-06 16:54:59,461 email2trac test: Message part: Main-Type: text 2018-05-06 16:54:59,461 email2trac test: Message part: Content-Type: text/plain

#1 fixed Test 1234 bas Bas van der Vlies <basv@…>
Description
Eeen klein testje
Note: See TracQuery for help on using queries.