Bug 497532 - lpstat uses incorrect IPP-Get-Jobs request; rejected by CUPS-1.3.10
Summary: lpstat uses incorrect IPP-Get-Jobs request; rejected by CUPS-1.3.10
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: cups
Version: 3.9
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-04-24 14:02 UTC by Tim Waugh
Modified: 2010-11-23 14:23 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-23 14:23:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
cups-get-jobs-printer-uri.patch (1.32 KB, patch)
2009-04-24 14:02 UTC, Tim Waugh
no flags Details | Diff
cups-get-jobs-printer-uri.patch (1.87 KB, patch)
2009-04-24 15:49 UTC, Tim Waugh
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
CUPS Bugs and Features 2996 0 None None None Never
CUPS Bugs and Features 3107 0 None None None Never

Description Tim Waugh 2009-04-24 14:02:57 UTC
Created attachment 341172 [details]
cups-get-jobs-printer-uri.patch

Description of problem:
In 1.3.10 IPP-Get-Jobs IPP requests without a printer-uri attribute are
rejected.  Unfortunately lpstat didn't start sending correctly-formed
IPP-Get-Jobs IPP requests until 1.3.10, so we'll need to patch 1.1.17 to do
that.

This will make Red Hat Enterprise Linux 3 CUPS machines able to operate
correctly with Fedora and future Red Hat Enterprise Linux releases.

Version-Release number of selected component (if applicable):
cups-1.1.17-13.3.58

How reproducible:
100%

Steps to Reproduce:
1.lpstat -h f10-host -o
  
Actual results:
Failure

Expected results:
List of queued jobs

See also:

* bug #497518, the Fedora bug in which this was reported;

* STR #2996, the upstream bug report which provoked the change;

* bug #497529, the equivalent bug for Red Hat Enterprise Linux 5;

* and bug #497530, the equivalent bug for Red Hat Enterprise Linux 4.

Attached patch is sufficient.

Comment 1 Tim Waugh 2009-04-24 15:49:30 UTC
STR #3107 is related, fixes cupsGetJobs2().

Comment 2 Tim Waugh 2009-04-24 15:49:58 UTC
Created attachment 341201 [details]
cups-get-jobs-printer-uri.patch

Comment 3 Tim Waugh 2009-04-24 16:29:34 UTC
Fedora bug report is bug #497519, not #497518.


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