Bug 2871 - Tracking bug - to document Dogtail<->Frysk interaction problem on text fields dynamically generated by GUI
Summary: Tracking bug - to document Dogtail<->Frysk interaction problem on text fields...
Status: REOPENED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Len DiMaggio
URL:
Keywords:
Depends on:
Blocks: 2777
  Show dependency treegraph
 
Reported: 2006-06-30 18:37 UTC by Len DiMaggio
Modified: 2006-07-17 19:54 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments
Data file to recreate test (427 bytes, text/xml)
2006-07-17 18:26 UTC, Len DiMaggio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Len DiMaggio 2006-06-30 18:37:33 UTC
Tracking bug - to document Dogtail<->Frysk interaction problem on text fields
dynamically generated by GUI

This problem was first identified with Frysk as built from CVS head on 20060628,
but it's probably been there for a while.

The problem is that when Dogtail writes text into text fields that are
dynamically generated in the GUI - for example, by pressing the "+" button in
the custom observer dialog to create multiple instances of filter/action values
- Frysk does not recognize that text.

This problem is illustrated with test script
http://sources.redhat.com/cgi-bin/cvsweb.cgi/frysk-gui/frysk/gui/test/dogtail_scripts/TestCreateObserversfromDataModel.py?cvsroot=frysk

If you watch the script operate, you can see text being written into the fields.
When Frysk saves the custom observer, however, the text is not written to the
observer file.

I have not been able to recreate the problem manually - only with Dogtail.
Interestingly, when I inserted some sys.sleep() statements into the script, and
manually appended a character to the string fields after Dogtail had written the
data into the fields, Frysk was able to recognize the text and write it to the
observer file.

Anyway - this is causing problems for the automated tests - I'll pursue this
with the Dogtail folks and drag in Frysk people as needed...
Comment 1 Len DiMaggio 2006-07-17 13:49:11 UTC
Whatever this bug was - it's fixed now - with Frysk and Dogtail as built from
CVS on July 15, 2006.
Comment 2 Len DiMaggio 2006-07-17 18:24:20 UTC
Hang on - I was able to create fork type observers this morning and not
encounter the problem. But, this afternoon, it's failing with exec type observers.
Comment 3 Len DiMaggio 2006-07-17 18:26:44 UTC
Created attachment 1170 [details]
Data file to recreate test

Using this test data file recreates the failure with the
TestCreateObserversfromDataModel.py test script.
Comment 4 Len DiMaggio 2006-07-17 19:54:26 UTC
The problem occurs in trying to create observers of types: exec, task terminaction

The problem is not seen with fork, syscall, and task clone observers

These data files were just checked in:

new_exec_custom_observer.xml
new_fork_custom_observer.xml
new_syscall_custom_observer.xml
new_task_clone_custom_observer.xml
new_task_term_custom_observer.xml