#8821 closed enhancement (duplicate)
FlexibleReporterNotifcationPlugin not working
| Reported by: | anonymous | Owned by: | Ryan J Ollos | 
|---|---|---|---|
| Priority: | high | Component: | FlexibleReporterNotificationPlugin | 
| Severity: | blocker | Keywords: | |
| Cc: | Trac Release: | 0.11 | 
Description
Hi,
I have downloaded FlexibleReporterNotifcationPlugin plugin and made changes in trac.ini file as required but it is not working as expected.Do I need to do any other changes or this plugin need any changes? My requirement is restrict the notification email to reporter only opening and closing a ticket, please help me, i need this.
Attachments (2)
Change History (9)
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
I got the plugin working with Trac 1.0.*, see the api.py attached.
comment:3 Changed 12 years ago by
| Owner: | changed from CStrac to Ryan J Ollos | 
|---|---|
| Status: | new → accepted | 
Would you kindly attach that as a patch file (trac:TracDev/SubmittingPatches)?
Changed 12 years ago by
| Attachment: | t8821.patch added | 
|---|
comment:4 Changed 12 years ago by
There are two major issues with the patch t8821.patch (a diff of api.py against r11964):
- We should not call open_environmentin the plugin. TheEnvironmentobject is bound toself.
- The patch is not compatible with Trac < 1.0.
comment:5 Changed 12 years ago by
| Resolution: | → duplicate | 
|---|---|
| Status: | accepted → closed | 
Duplicate of #7554. A fix will be committed against that ticket.
comment:7 Changed 12 years ago by
I used some of the ideas in api.py:ticket:11210 to prepare the fix for #7554. Please test it out and report back if you can.




I am having the same issue, I am attempting to walk through the python code but have been unable to find the fix.
Can someone please direct me to where I can learn about testing and debuggind Trac Python code?