Bug 2866 - Unable to edit 'Exit Notification' observer - via Custom Observer dialog - exception raised
Summary: Unable to edit 'Exit Notification' observer - via Custom Observer dialog - ex...
Status: RESOLVED INVALID
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Sami Wagiaalla
URL:
Keywords:
Depends on:
Blocks: 3399
  Show dependency treegraph
 
Reported: 2006-06-30 14:15 UTC by Len DiMaggio
Modified: 2007-03-20 19:13 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Len DiMaggio 2006-06-30 14:15:02 UTC
In Frysk as built from CVS head on 20060629:

Unable to edit 'Exit Notification' observer - via Custom Observer dialog -
exception raised

To recreate:
1) Access 'Manage Custom Observers' dialog
2) Select 'Exit Notification' observer
3) Press Edit button

This exception is raised:

java.lang.IllegalArgumentException: the passes text argument [NoName Terminating
Task] does not match any of the items in this ComboBox
   at frysk.gui.monitor.SimpleComboBox.setSelectedText(FryskGui)
   at frysk.gui.monitor.ActionRow.<init>(FryskGui)
   at frysk.gui.monitor.ActionsTable.getNewRow(FryskGui)
   at frysk.gui.monitor.ObserverItemsTable.addRow(FryskGui)
   at frysk.gui.monitor.ObserverItemsTable.setObserver(FryskGui)
   at frysk.gui.monitor.EditObserverDialog.setAll(FryskGui)
   at frysk.gui.monitor.EditObserverDialog.editObserver(FryskGui)
   at frysk.gui.monitor.ObserversDialog$3.buttonEvent(FryskGui)
   at org.gnu.gtk.Button.fireButtonEvent(libgtkjava-2.8.so)
   at org.gnu.gtk.Button.handleClick(libgtkjava-2.8.so)
   at org.gnu.gtk.Gtk.gtk_main(libgtkjava-2.8.so)
   at org.gnu.gtk.Gtk.main(libgtkjava-2.8.so)
   at frysk.gui.Gui.gui(FryskGui)
   at frysk.gui.FryskGui.main(FryskGui)
Comment 1 Len DiMaggio 2006-06-30 14:25:23 UTC
Just checked in a Dogtail test script to recreate this bug.

The script is:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/frysk-gui/frysk/gui/test/dogtail_scripts/Test2866.py?cvsroot=frysk

Syntax to run the script:

   python Test2866.py <Frysk Gui binary> <Frysk Session file>

For example:

   python Test2866.py /home/ldimaggi/sandbox/build/frysk-gui/frysk/gui/FryskGui
another_new_session.xml
Comment 2 Sami Wagiaalla 2007-03-20 19:13:17 UTC
Exit notificaiton observer is not editable and is now removed from
ObserverManager so will not be seen by the user.