You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2006/03/08 01:35:10 UTC

[Bug 4819] New: MIMEHeader plugin throws redefining warnings

http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4819

           Summary: MIMEHeader plugin throws redefining warnings
           Product: Spamassassin
           Version: 3.1.0
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Plugins
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: felicity@apache.org


Subroutine Mail::SpamAssassin::Plugin::MIMEHeader::_mimeheader_eval_T_TVD_FW_GRAPHIC_ID2 
redefined at (eval 2077) line 2.
Subroutine Mail::SpamAssassin::Plugin::MIMEHeader::_mimeheader_eval_T_TVD_FW_GRAPHIC_NAME10 
redefined at (eval 2079) line 2.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 4819] [review] MIMEHeader plugin throws redefining warnings

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4819


spamassassin@dostech.ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Status Whiteboard|needs 2 votes               |needs 1 vote




------- Additional Comments From spamassassin@dostech.ca  2006-03-09 00:04 -------
The patch masks (the only) warnings to an end user that might try to use the
same rule name twice.  Something that should probably be a lint error, but isn't.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 4819] [review] MIMEHeader plugin throws redefining warnings

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4819


spamassassin@dostech.ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Status Whiteboard|needs 1 vote                |can be committed




------- Additional Comments From spamassassin@dostech.ca  2006-03-09 00:48 -------
Ah, well that might not be right.  I can see wanting to redefine a rule, but I
can also see wanting protection from accidentally redefining a rule.

In any case, that's a separate issue.

+1 on 3399.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 4819] [review] MIMEHeader plugin throws redefining warnings

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4819


felicity@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|MIMEHeader plugin throws    |[review] MIMEHeader plugin
                   |redefining warnings         |throws redefining warnings
  Status Whiteboard|                            |needs 2 votes
   Target Milestone|Undefined                   |3.1.1




------- Additional Comments From felicity@apache.org  2006-03-08 00:36 -------
will be putting up a patch in a minute



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 4819] [review] MIMEHeader plugin throws redefining warnings

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4819


sidney@sidney.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From sidney@sidney.com  2006-03-09 19:17 -------
Committed revision 384584




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 4819] [review] MIMEHeader plugin throws redefining warnings

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4819





------- Additional Comments From felicity@apache.org  2006-03-08 00:37 -------
Created an attachment (id=3399)
 --> (http://issues.apache.org/SpamAssassin/attachment.cgi?id=3399&action=view)
patch as committed in 384069




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 4819] [review] MIMEHeader plugin throws redefining warnings

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4819





------- Additional Comments From felicity@apache.org  2006-03-09 00:33 -------
(In reply to comment #4)
> The patch masks (the only) warnings to an end user that might try to use the
> same rule name twice.  Something that should probably be a lint error, but isn't.

Yes, however, as far as I can see, we don't throw a lint error when reusing names for any other rule 
types either.  for instance:

mimeheader TEST Content-Type =~ /./
mimeheader TEST Content-Type =~ /./

causes:

[11169] warn: Subroutine Mail::SpamAssassin::Plugin::MIMEHeader::_mimeheader_eval_TEST redefined 
at (eval 210) line 2.

header TEST Content-Type =~ /./
header TEST Content-Type =~ /./

causes nothing.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 4819] [review] MIMEHeader plugin throws redefining warnings

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4819





------- Additional Comments From jm@jmason.org  2006-03-08 23:19 -------
+1



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.