#2 Patch for a bug with the subscribers of an issue

open
nobody
None
5
2004-04-06
2004-04-06
Damien Baty
No

Hi,

I run into an annoying bug when I subscribe someone to
an issue. The subscribed e-mail is also added to the
subscribers of every future issues (in every issue tracker
container of the Zope instance).

System: Zope Z.6.1, IssueTrackerProduct-0.5.0b

How to reproduce:

1. add a new issue.

2. subscribe foo@foo.com to this issue.

3. add another issue.

4. foo@foo.com has been automagically subscribed to
this issue.

The bug comes from the 'IssueTrackerIssue' constructor,
which uses an empty list as the subscriber default
parameter. That's baad. ;)

Attached is a patch against the last CVS (1.89) version
of 'IssueTracker.py' (although I did not test this version,
I highly suspect that the bug also appears with it.)

Hope this helps.

(By the way, is the product still maintained and/or in
development?)

Discussion

  • Damien Baty
    Damien Baty
    2004-04-06

    Patch against IssueTracker.py (v-1.89)

     
    Attachments