Bug 479471 - CUPS never gets the MIME type based on the document name for a single file job
Summary: CUPS never gets the MIME type based on the document name for a single file job
Keywords:
Status: CLOSED DUPLICATE of bug 479635
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: cups
Version: 5.3
Hardware: All
OS: Linux
low
medium
Target Milestone: beta
: ---
Assignee: Tim Waugh
QA Contact: desktop-bugs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-01-09 21:28 UTC by Opher Shachar
Modified: 2009-01-28 18:07 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-01-28 18:07:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


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

Description Opher Shachar 2009-01-09 21:28:03 UTC
Description of problem:
The scheduler never gets the MIME type based on the document name for a single file job. This is because cupsPrintFile*() doesn't send the document filename for single file submissions.

Version-Release number of selected component (if applicable):
1.3.7

How reproducible:
Always

Steps to Reproduce:
1. echo "Not a Postscript file :)" >notpsfile.ps
2. lp notpsfile.ps
  
Actual results:
The error_log shows job was typed as text/plain.

Expected results:
CUPS was to auto-type the job as application/postscript because in `mime.types' there is a rule that `ps' extension is "application/postscript".

Additional info:
I submitted a STR #3055 upstream and it is fixed in v1.3.10 .

Comment 1 Tim Waugh 2009-01-28 18:07:49 UTC
Both STR #3055 and STR #3059 are now in bug #479635.

*** This bug has been marked as a duplicate of bug 479635 ***


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