Red Hat Bugzilla – Bug 98369
clicked on the "view advisory" button in up2date confused app
Last modified: 2007-04-18 12:55:24 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225
Description of problem:
I clicked on the "view advisory" button in up2date after selecting all components:
Traceback (most recent call last):
File "/usr/share/rhn/up2date_client/gui.py", line 1063, in showAdvisory
advisories = rhnErrata.getAdvisoryInfo(rowData)
TypeError: unsubscriptable object
After selecting just one the app proceeded. This is a very non-critical bug, but
shows sloppy programming.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
2.either fail to select a component or select all
3.click "view advisory"
Actual Results: The app generates strange error, the hour glass appears, no
feedback is given that the user can proceed even though in testing they can.
Expected Results: Either nothing happens (kind of acceptable), or a nice
warning along the lines of "please select one item before clicking view advisory"
Also happens if you don't select /any/ items on the list.
I belive both of these should be fixed in 3.1.41 or later.