Bug 55437 - ComboStringEditor does not translate EDIT and UNDEFINED strings on language change
Summary: ComboStringEditor does not translate EDIT and UNDEFINED strings on language c...
Status: RESOLVED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: 2.9
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-16 18:26 UTC by Sebb
Modified: 2013-08-20 15:36 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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
Comment 3 The ASF infrastructure team 2022-09-24 20:37:54 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3197