[Bug 1181498] [NEW] subject_prefix is not part of the IMailingList interface
Public bug reported: In mailman/interfaces/mailinglist.py, in the IMailingList interface, there's a display_name property whoose documentation reads: "This is used in locations such as the message footers and Subject prefix.". It's actually not true, in the MailingList model class (in mailman/model/mailinglist.py) there's a subject_prefix attribute for this value, and it's the one that Postorius edits. Thus the interface is incomplete (which is not a big problem) and the documentation is misleading (which is a bigger problem IMHO). ** Affects: mailman Importance: Undecided Status: New ** Tags: documentation mailman3 ** Tags added: documentation mailman3 -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/1181498 Title: subject_prefix is not part of the IMailingList interface To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/1181498/+subscriptions
Note that what really happens is that the display name is taken as the default, initial value of the text to put inside the square brackets, when the default style is used. See src/mailman/styles/base.py for details. Thanks for noting this. I will add subject_prefix to the interface and update the display_name docstring. ** Changed in: mailman Milestone: None => 3.0.0b4 ** Changed in: mailman Assignee: (unassigned) => Barry Warsaw (barry) ** Changed in: mailman Importance: Undecided => High ** Changed in: mailman Status: New => In Progress ** Changed in: mailman Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/1181498 Title: subject_prefix is not part of the IMailingList interface To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/1181498/+subscriptions
** Changed in: mailman Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/1181498 Title: subject_prefix is not part of the IMailingList interface To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/1181498/+subscriptions
participants (2)
-
Aurélien Bompard -
Barry Warsaw