Bug 55437

Summary: ComboStringEditor does not translate EDIT and UNDEFINED strings on language change
Product: JMeter Reporter: Sebb <sebb>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 2.9   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   

Description Sebb 2013-08-16 18:26:40 UTC
The EDIT and UNDEFINED fields are currently static. This means that they are not updated on a language change. Making them instance fields should fix this.
Comment 1 Sebb 2013-08-16 18:36:42 UTC
URL: http://svn.apache.org/r1514839
Log:
ComboStringEditor does not translate EDIT and UNDEFINED strings on language change
Bugzilla Id: 55437

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/testbeans/gui/ComboStringEditor.java
    jmeter/trunk/test/src/org/apache/jmeter/testbeans/gui/TestComboStringEditor.java
    jmeter/trunk/xdocs/changes.xml
Comment 2 Sebb 2013-08-20 15:36:06 UTC
The change was wrong - cannot compare instance fields using ==.

URL: http://svn.apache.org/r1515845
Log:
ComboStringEditor does not translate EDIT and UNDEFINED strings on language change
Rework UniqueObject so equality depends on the property key.
Bugzilla Id: 55437

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/testbeans/gui/ComboStringEditor.java