Bug 57076 - BooleanPropertyEditor#getAsText() must return a value that is in getTags()
Summary: BooleanPropertyEditor#getAsText() must return a value that is in getTags()
Status: RESOLVED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: 2.11
Hardware: PC Mac OS X 10.4
: P2 normal (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-10 16:10 UTC by Sebb
Modified: 2014-10-10 17:03 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebb 2014-10-10 16:10:07 UTC
BooleanPropertyEditor#getAsText() currently returns lower-case "true" or "false". However the tags are "True", "False" to agree with the JVM property editor for boolean.class.

The code needs to override getAsText() in order to return a valid tag entry.
Comment 1 Sebb 2014-10-10 17:03:05 UTC
URL: http://svn.apache.org/r1630937
Log:
BooleanPropertyEditor#getAsText() must return a value that is in getTags()
Bugzilla Id: 57076

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/testbeans/gui/BooleanPropertyEditor.java
    jmeter/trunk/test/src/org/apache/jmeter/testbeans/gui/TestBooleanPropertyEditor.java
    jmeter/trunk/xdocs/changes.xml
Comment 2 The ASF infrastructure team 2022-09-24 20:37:58 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3450