Bug 635719

Summary: s-c-p doesn't ask before renaming a printer queue
Product: [Fedora] Fedora Reporter: Jiri Popelka <jpopelka>
Component: system-config-printerAssignee: Tim Waugh <twaugh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: jpopelka, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: system-config-printer-1.2.5-6.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-22 22:14:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jiri Popelka 2010-09-20 15:08:25 UTC
Description of problem:

system-config-printer used to ask before renaming a printer queue.
There was a dialog with 'Renaming will lose history' warning.

Version-Release number of selected component (if applicable):
system-config-printer-1.1/2
cups-1.4.4


Additional info:

I found out that in cupshelpers.py:jobsPreserved() we try to discover
whether there are preserved jobs for the printer.
We are using a job attributes 'job-printer-uri' and 'job-state'.
Problem is that cups.getJobs() returns only 'job-uri' and 'job-id' attributes.
It most likely used to return also 'job-printer-uri' and 'job-state' but since 1.4.3 only 'job-uri' and 'job-id' have been returned by default.

Found this in CUPS release notes
CUPS 1.4.3 (March 30, 2010)
    * IPP conformance: Get-Jobs has a default value for requested-attributes (http://www.cups.org/str.php?L3383)

So I guess we need to change each use of cups.getJobs to explicitly define what attributes to request.

Comment 1 Jiri Popelka 2010-09-20 15:29:55 UTC
Seems like incomplete fix for bug #584806.

Comment 3 Fedora Update System 2010-10-13 14:47:18 UTC
system-config-printer-1.2.5-1.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/system-config-printer-1.2.5-1.fc14

Comment 4 Fedora Update System 2010-10-13 14:55:00 UTC
system-config-printer-1.2.5-1.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/system-config-printer-1.2.5-1.fc13

Comment 5 Fedora Update System 2010-10-14 06:24:13 UTC
system-config-printer-1.2.5-1.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update system-config-printer'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/system-config-printer-1.2.5-1.fc13

Comment 6 Bug Zapper 2010-11-03 09:58:42 UTC
This message is a reminder that Fedora 12 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 12.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '12'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 12's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 12 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 7 Fedora Update System 2010-11-16 23:23:23 UTC
system-config-printer-1.2.5-6.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2010-11-22 22:13:04 UTC
system-config-printer-1.2.5-6.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.