Description of problem: When two or more files are printed, then the print job is held then resumed, the print job is incorrectly marked as completed and therefore removed. The problem only affects multi-file jobs. Step to Reproduce: 1) setup a printer: # /usr/sbin/lpadmin -p testprinter -E -v socket://127.0.0.1:9100 -m textonly.ppd 2) create a few files to print: # echo "test print 1" > print1.txt # echo "test print 2" > print2.txt 2) print two or more files by using the lp command: # lp -d testprinter print1.txt print2.txt request id is testprinter-1 (2 file(s)) 3) hold the print job: # lp -i 1 -H hold 3) confirm the job is still queued: # lpstat -o testprinter-1 root 2048 Fri 08 Feb 2008 09:01:34 PM EST 4) resume the print job: # lp -i 1 -H resume Actual results: The print job disappears: # lpstat -o # Expected results: The print job still exists and is no longer held. # lpstat -o testprinter-1 root 2048 Fri 08 Feb 2008 09:01:34 PM EST # Version-Release number of selected component (if applicable): cups-1.2.4-11.14.el5_1.3 and earlier Additional info: patch to correct the problem is attached.
Created attachment 294340 [details] patch to correct the problem
Confirmed: svn revision 7005 (trunk) and 7009 (branch-1.3). Thanks for reporting it.
Proposing for RHEL-5.3 FasTrack and granting Devel ACK. Read ya, Phil
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2009-0201.html