Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MailerModel.sendMail has strange way to calculate debug setting #2728

Closed
asfimport opened this issue Feb 7, 2012 · 2 comments
Closed

MailerModel.sendMail has strange way to calculate debug setting #2728

asfimport opened this issue Feb 7, 2012 · 2 comments

Comments

@asfimport
Copy link
Collaborator

Sebb (Bug 52614):
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.

Severity: normal
OS: Windows XP

@asfimport
Copy link
Collaborator Author

Sebb (migrated from Bugzilla):
A simple solution would be to enable debug for the Test message and not otherwise - thoughts?

@asfimport
Copy link
Collaborator Author

Sebb (migrated from Bugzilla):
Changed to enable debug for Test message only:

URL: http://svn.apache.org/viewvc?rev=1242199&view=rev
Log:
#2728 - 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant