Bug 548790 - No error is returned from JobCancel if job not known
Summary: No error is returned from JobCancel if job not known
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: cups-pk-helper
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Marek Kašík
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-18 16:00 UTC by Tim Waugh
Modified: 2010-03-10 06:48 UTC (History)
1 user (show)

Fixed In Version: cups-pk-helper-0.0.4-12.fc12
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-03-10 06:48:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
cups-pk-helper-job-cancel-error.patch (841 bytes, patch)
2009-12-18 16:00 UTC, Tim Waugh
no flags Details | Diff

Description Tim Waugh 2009-12-18 16:00:34 UTC
Created attachment 379237 [details]
cups-pk-helper-job-cancel-error.patch

Description of problem:
The JobCancel method times out if the job is not known.

Version-Release number of selected component (if applicable):
cups-pk-helpers-0.0.4-10.fc12

How reproducible:
100%

Steps to Reproduce:
cd /usr/share/system-config-printer
python
import cupspk
c=cupspk.Connection('localhost',631,0)
c.cancelJob(5000)

Actual results:
Times out.

Expected results:
Immediate failure.

Patch attached.

Comment 1 Fedora Update System 2010-02-23 13:46:54 UTC
cups-pk-helper-0.0.4-12.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/cups-pk-helper-0.0.4-12.fc12

Comment 2 Marek Kašík 2010-02-23 13:53:40 UTC
Hi Tim,

thank you for the patch.

Marek

Comment 3 Fedora Update System 2010-02-24 06:13:03 UTC
cups-pk-helper-0.0.4-12.fc12 has been pushed to the Fedora 12 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 cups-pk-helper'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-2753

Comment 4 Fedora Update System 2010-03-10 06:48:49 UTC
cups-pk-helper-0.0.4-12.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.


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