Bug 68778 - [patch] SpinButton not accepting valid input.
[patch] SpinButton not accepting valid input.
Product: Red Hat Linux Beta
Classification: Retired
Component: redhat-config-users (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Brent Fox
Depends On:
Blocks: 67217
  Show dependency treegraph
Reported: 2002-07-13 21:39 EDT by Brent Fox
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-08-20 09:08:00 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
This patch fixes it for me. (1.85 KB, patch)
2002-08-19 13:29 EDT, Tim Waugh
no flags Details | Diff

  None (edit)
Description Brent Fox 2002-07-13 21:39:17 EDT
[root@bfox src]# ./redhat-config-users.py
Traceback (most recent call last):
  File "./userWindow.py", line 256, in on_userWin_ok_button_clicked
  File "./userWindow.py", line 90, in userWinReset
TypeError: argument 2 must be list, not long

The value '500' is not a long.  Also, a SpinButton should not be expecting a
list.  What gives?
Comment 1 Karsten Hopp 2002-08-13 09:26:44 EDT
I couldn't reproduce this with todays snapshot. Can you please verify ?
Comment 2 Karsten Hopp 2002-08-13 10:14:47 EDT
Correction, I can reproduce this now. 
It happens when you add a user to an already existing group: 
- add user with its own group 
- remove user ( group still exists) 
- add same user again 
Comment 3 Tim Waugh 2002-08-19 13:29:14 EDT
Please try the attached patch.
Comment 4 Tim Waugh 2002-08-19 13:29:51 EDT
Created attachment 71465 [details]
This patch fixes it for me.
Comment 5 Brent Fox 2002-08-19 15:06:40 EDT
Patch applied.  That seems to fix it.  Thank you very much.  :)

Should be fixed in 1.1-14.  QA, please verify.
Comment 6 Jay Turner 2002-08-22 23:01:43 EDT
Fix confirmed with redhat-config-users-1.1-15.

Note You need to log in before you can comment on or make changes to this bug.