On Fri, Oct 27, 2006 at 10:36:51AM +0200, Rainer Sokoll wrote:
Me again :-|
> This seems to be ticket #3654. Will apply the provided patch and see then.
Ok, the first problem gets solved, but the second remains.
I will try to be as clear as possible.
Three users, lets name them [EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED]
trac.ini has:
always_notify_owner = true
always_notify_reporter = true
always_notify_updater = false
default_component = New
There are 2 components: "New" and "Assigned", "New" has user2 as owner,
"Assigned" has no owner.
user1 creates a new ticket. Notification is sent to user2 (owner), but
not to user1 (reporter).
user2 changes the component from "New" to "Assigned" and reassigns the
ticket to user3. Notifications are sent to user1 (reporter) and user3
(new owner)
When user3 (the new owner) clicks on "View Tickets", I see in the log
(sorry for the formatting):
DEBUG: Query SQL: SELECT t.id AS id,t.summary AS summary,t.status AS
status,t.type AS type,t.priority AS priority,t.component AS
component,t.reporter AS reporter,t.time AS time,t.changetime AS
changetime,t.owner AS owner,priority.value AS priority_value
FROM ticket AS t
LEFT OUTER JOIN enum AS priority ON (priority.type='priority' AND
priority.name=priority)
WHERE COALESCE(t.status,'') IN ('new','assigned','reopened') AND
COALESCE(t.owner,'')='user3'
ORDER BY COALESCE(t.priority,'')='',priority.value,t.id
user3 opens the ticket, it has "Reported by:" user1, "Assigned to:"
user3, "Component:" Assigned.
All this is OK.
user3 accept the ticket. Notifications are sent to user1 (reporter) and
user2 (This is wrong)
All I see in the log is now:
Trac[notification] DEBUG: Sending SMTP notification to localhost on port
25 to [u'[EMAIL PROTECTED]', u'[EMAIL PROTECTED]']
I do not understand where user2 comes from :-(
Trac 0.10, with notification.py from
http://trac.edgewall.org/browser/trunk/trac/ticket/notification.py?rev=3808,
used plugins: Webadmin, Ticketdelete, Simpleticket.
Any idea where user2 comes from?
Thanks,
Rainer
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/trac-users
-~----------~----~----~----~------~----~------~--~---