Bug 229378 - server settings aren't saved when using "Apply changes" warning dialog
server settings aren't saved when using "Apply changes" warning dialog
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: system-config-printer (Show other bugs)
6
All Linux
low Severity low
: ---
: ---
Assigned To: Tim Waugh
:
Depends On:
Blocks: FC6Update
  Show dependency treegraph
 
Reported: 2007-02-20 13:44 EST by Jan Hutař
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version: 0.7.52.1-2.fc6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-04-16 12:51:20 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jan Hutař 2007-02-20 13:44:36 EST
Description of problem:
Changed server settings aren't saved when using "Apply changes" warning dialog.


Version-Release number of selected component (if applicable):
system-config-printer-0.7.52-1.fc7
cups-1.2.8-1.fc7
fedora-release-6.90-3


How reproducible:
always


Steps to Reproduce:
1. in "Server settings" dialog change some setting (e.g. turn on "Allow users 
to chancel...")
2. don't click "Apply" and click some remote printer from the list
3. "Apply changes" dialog appears
4. click "Apply"

  
Actual results:
change is not saved, I'm sill in "Server settings" dialog


Expected results:
change is saved, I'm in printer config dialog (I clicked on the printer)
Comment 1 Tim Waugh 2007-02-21 08:06:45 EST
Fixed in CVS.
Comment 2 Bill Nottingham 2007-03-02 12:36:01 EST
Moving to 'devel' as discussed on
https://www.redhat.com/archives/fedora-devel-list/2007-March/msg00095.html.
Comment 3 Peter Gordon 2007-04-08 21:36:08 EDT
I'm still getting this issue, and I noticed the following traceback when I run
it from a terminal window:

$ system-config-printer
Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 1099,
in on_btnApply_clicked
    err = self.apply()
  File "/usr/share/system-config-printer/system-config-printer.py", line 1110,
in apply
    return self.save_serversettings()
  File "/usr/share/system-config-printer/system-config-printer.py", line 3109,
in save_serversettings
    self.cups.adminSetServerSettings(setting_dict)
RuntimeError: Failed to set settings


The application continues to run, but nothing is actually changed.

Thanks.
Comment 4 Fedora Update System 2007-04-10 12:53:13 EDT
Fixed in update: system-config-printer-0.7.52.1-2.fc6.
Comment 5 Peter Gordon 2007-04-11 01:25:05 EDT
(In reply to comment #4)
> Fixed in update: system-config-printer-0.7.52.1-2.fc6.

Will a similar update hit Rawhide/Development soon? 

Thanks.
Comment 6 Tim Waugh 2007-04-11 07:20:36 EDT
Peter, this fix went into system-config-printer-0.7.53-1.fc7 so if you're still
seeing the problem it isn't completely fixed.  Are you sure you're clicking on a
printer (and getting an apply dialog) rather than just clicking the 'Apply'
button on the settings screen?

If you're clicking the Apply button on the settings screen it's a different
problem, and I would greatly appreciate a separate bug report for it..
Comment 7 Peter Gordon 2007-04-11 23:50:30 EDT
Tim,

Thanks for your further inquiry. I looked into it a bit more and found out that
I couldn't even print at all! I double-checked my config files and - wouldn't
you know it - my earlier fiddling actually *was* saved...so I had accidentally
denied access to every user...How odd. Anyway, I retweaked the files to allow
access again and it seems to work as it should (from my brief testing).

Thanks for the fix!

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