DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42947>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42947





------- Additional Comments From [EMAIL PROTECTED]  2007-08-29 11:40 -------
(In reply to comment #2)
> It appears that using Control+S to save a test plan has always been broken 
> for 
> GUI items that use TestBeanGUI. 
> 
> For example, using CSV Dataset: enter a value in the filename field, and save 
> the plan using control+S. Exit and reload the plan - the value has not been 
> saved.
> 
> The difference in 2.3RC3 is that this behaviour has become obvious, as the 
> saved version is now reflected in the GUI.
> 
> The same problem applies to other short-cut keys such as Control+R.
> 
> Normally the value in the GUI field is saved whenever there is a focus-lost 
> event however this does not happen for short-cut keys.

The problem seems to be that the "propertyChange" event for the PropertyEditor
in the TestBeanGui is not fired until after the changes have been stored. If you
change the comment of the BeanShell Postprocessor and hit Ctrl+S, that change is
saved.

The problem is that the PropertyChange events have not been processed before 
the    
TestBeanGui.modifyTestElement method is moving changes from gui to model.
Therefore, the changes are not saved.

I do not see an easy fix at the moment, will have to investigate more on how the
 java PropertyEditor works in conjunction with keyboard shortcuts.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to