6.0.0-git
2019-04-25

[#1162] erroneous messsages when adding entries to blacklists / whitelists
Summary erroneous messsages when adding entries to blacklists / whitelists
Queue IMP
Queue Version 4.0.1
Type Bug
State Resolved
Priority 1. Low
Owners Horde Developers (at)
Requester liamr (at) umich (dot) edu
Created 2005-01-14 (5214 days ago)
Due
Updated 2005-01-26 (5202 days ago)
Assigned 2005-01-14 (5214 days ago)
Resolved 2005-01-26 (5202 days ago)
Milestone
Patch No

History
2005-01-26 06:35:17 Michael Slusarz Comment #2
State ⇒ Resolved
Reply to this comment
Fixed... at a slight cost.  This won't appear until IMP 4.1.0/Ingo 
1.1.0 since moving the status generation code out of IMP and into ingo 
could cause *no* status messages being output at all if a version of 
IMP is used without the status message generation and a version of 
Ingo is used without the new status message generation code.



If people want to patch their local code, here are the changes:

http://cvs.horde.org/diff.php/imp/lib/Filter.php?r1=1.57&r2=1.58&ty=u

http://cvs.horde.org/diff.php/ingo/lib/api.php?r1=1.17&r2=1.18&ty=u
2005-01-14 21:42:30 Jan Schneider State ⇒ Assigned
Assigned to Horde DevelopersHorde Developers
 
2005-01-14 18:44:00 liamr (at) umich (dot) edu Comment #1
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Summary ⇒ erroneous messsages when adding entries to blacklists / whitelists
Queue ⇒ IMP
Reply to this comment
When adding an entry to a black/whitelist that is already met its 
maximum number of members, IMP reports that the entry was added.  eg:



     Message  The address "user@example.com" has been added to your blascklist.



     Error  Maximum number of blacklisted addresses exceeded (Total 
addresses: 6,

     Maximum addresses: 5). Could not add new addresses to blacklist.



It should probably only display the error message, instead of the 
success message + error message.   Showing both is confusing.


Saved Queries