Modify

Opened 5 years ago

Closed 3 years ago

Last modified 3 years ago

#6539 closed defect (invalid)

Reply to ticket creates a new ticket

Reported by: manschwetus@… Owned by: k0s
Priority: normal Component: MailToTracPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

open ticket works, I get such a mail:
#76: test


Reporter: Florian Manschwetus <fm1007@…> | Owner:

Status: new | Priority: normal

Milestone: #1 Aufgaben -- Unverteilt | Resolution:

Keywords: | Blocking:

Blockedby: |


test2

When I reply, this is the reply:
#77: Re: [TK Main Administration Projekt] #76: test


Reporter: Florian Manschwetus <fm1007@…> | Owner:

Status: new | Priority: normal

Milestone: #1 Aufgaben -- Unverteilt | Resolution:

Keywords: | Blocking:

Blockedby: |


QW0gMDQuMDIuMjAxMCAxNzowNiwgc2NocmllYiBUSyBNYWluIEFkbWluaXN0cmF0aW9uIFByb2pl
a3Q6DQo+ICM3NjogdGVzdA0KPiAtLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0rLS0tDQo+ICBSZXBvcnRlcjogIEZs
b3JpYW4gTWFuc2Nod2V0dXMgPGZtMTAwN0DigKY+ICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgfCAgICAgICAgT3duZXI6ICAgICAgICANCj4gICAgU3RhdHVzOiAgbmV3ICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCAgICAgUHJpb3Jp
dHk6ICBub3JtYWwNCj4gTWlsZXN0b25lOiAgIzEgQXVmZ2FiZW4gLS0gVW52ZXJ0ZWlsdCAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCAgIFJlc29sdXRpb246ICAgICAgICANCj4g
IEtleXdvcmRzOiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgfCAgICAgQmxvY2tpbmc6ICAgICAgICANCj4gQmxvY2tlZGJ5OiAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
fCAgDQo+IC0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLSstLS0NCj4gIHRlc3QyDQo+IA0KbmFjaHRyYWcNCg==

Attachments (2)

mail2trac_bug (2.5 KB) - added by manschwetus@… 5 years ago.
looks like a bug in email parsing, I just replied, no base64 encoded stuff attached
mail2trac-default-subject-prefix.patch (832 bytes) - added by dwc 4 years ago.
Determine default subject prefix if not defined

Download all attachments as: .zip

Change History (8)

comment:1 Changed 5 years ago by rjollos

  • Summary changed from reply to ticket doesn't work to Reply to ticket creates a new ticket

So you are saying that it creates a new ticket for you?

Changed 5 years ago by manschwetus@…

looks like a bug in email parsing, I just replied, no base64 encoded stuff attached

comment:2 Changed 5 years ago by manschwetus@…

uh, that was really I'll formatted, I'll attach it as plain text

comment:3 Changed 4 years ago by dwc

I ran into this problem as well with Trac instances that do have smtp_subject_prefix defined. In this case, Trac 0.11.6 defaults to a value of __default__ which this plugin doesn't handle.

I'll attach a quick patch to handle the default value. I couldn't find an API in Trac 0.11.6 to return the actual subject prefix, so I had to determine it manually.

Changed 4 years ago by dwc

Determine default subject prefix if not defined

comment:4 Changed 3 years ago by Floris

ReplyToTicket also fails to recognize replies to tickets if trac.ini contains a custom ticket_subject_template with a variable other than $prefix, $ticket.id and $summary.

comment:5 Changed 3 years ago by zitune

  • Resolution set to invalid
  • Status changed from new to closed

I create the ticket #9536 for this problem.

comment:6 Changed 3 years ago by zitune

can you post your ticket_subject_template on #9536

Add Comment

Modify Ticket

Action
as closed .
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.