You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2012/02/07 02:24:02 UTC

DO NOT REPLY [Bug 52614] New: MailerModel.sendMail has strange way to calculate debug setting

https://issues.apache.org/bugzilla/show_bug.cgi?id=52614

             Bug #: 52614
           Summary: MailerModel.sendMail has strange way to calculate
                    debug setting
           Product: JMeter
           Version: 2.5.1
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
        AssignedTo: issues@jmeter.apache.org
        ReportedBy: sebb@apache.org
    Classification: Unclassified


MailerModel.sendMail has a strange way to calculate the debug setting:

        boolean debug = Boolean.valueOf(host).booleanValue();

i.e. it will set debug true iff host.equalsIgnoreCase("true").

This code seems to have been there since the beginning of SVN history.

It should either be removed, or be replaced with something more useful.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 52614] MailerModel.sendMail has strange way to calculate debug setting

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52614

Sebb <se...@apache.org> changed:

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

--- Comment #2 from Sebb <se...@apache.org> 2012-02-09 01:13:10 UTC ---
Changed to enable debug for Test message only:

URL: http://svn.apache.org/viewvc?rev=1242199&view=rev
Log:
Bug 52614 - MailerModel.sendMail has strange way to calculate debug setting

Modified:
   jmeter/trunk/src/components/org/apache/jmeter/reporters/MailerModel.java
   jmeter/trunk/xdocs/changes.xml

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 52614] MailerModel.sendMail has strange way to calculate debug setting

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52614

--- Comment #1 from Sebb <se...@apache.org> 2012-02-07 11:49:18 UTC ---
A simple solution would be to enable debug for the Test message and not
otherwise - thoughts?

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.