Bug 62421 - Field value of 'Validation Query' (JDBC Connection Configuration) is lost when saving test plan.
Summary: Field value of 'Validation Query' (JDBC Connection Configuration) is lost whe...
Status: NEW
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: 4.0
Hardware: PC All
: P2 trivial (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
Depends on:
Reported: 2018-05-31 12:46 UTC by patrick.trapp
Modified: 2018-06-11 08:51 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description patrick.trapp 2018-05-31 12:46:08 UTC
Steps to reproduce behavior:
- Add "JDBC Connection Configuration" to test plan
- change value of "Validation Query" to something like 'select 1 from dual'
- select "File / Save Test Plan as" from menu
- When the File dialog opens up, the Field value of "Validation Query" is reset.

Expected behavior:
- the Field value of "Validation Query" should keep it's assigned value when storing the Test Plan.
Comment 1 patrick.trapp 2018-05-31 12:56:48 UTC
I think the text field may not be connected with a listener, so the text is not propagated to the TreeModel. Anyway, I have no idea where the plumbing is and how to fix it. Any help is appreciated.
Comment 2 Felix Schumacher 2018-05-31 14:56:39 UTC
Does this happen, when you move the focus out of the field before you open the save dialog, too?

I can reproduce it, but only if the focus is still on the query field when opening the save dialog.
Comment 3 patrick.trapp 2018-06-11 08:51:58 UTC
No, You're right. When I move focus, the Field is stored correctly. So this is just a minor issue.
Comment 4 The ASF infrastructure team 2022-09-24 20:38:13 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/4788