Bug 470029

Summary: [fix available] Can not open files through http protocol from servers that don't support "OPTIONS"
Product: Red Hat Enterprise Linux 5 Reporter: Suqin Huang <shuang>
Component: openoffice.orgAssignee: Caolan McNamara <caolanm>
Status: CLOSED WONTFIX QA Contact: desktop-bugs <desktop-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.3CC: dtardon, llim
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-11-07 10:23:18 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:
Attachments:
Description Flags
patch to fix none

Description Suqin Huang 2008-11-05 11:31:57 UTC
Description of problem:
An error message "http://www.microsoft.com/presspass/download/press/2008/02-01Yahoo.ppt is not exit" appear when open this file with openoffice.
(Actual, this file is exit)

Version-Release number of selected component (if applicable):
openoffice.org-2.3.0-6.10.el5 x86_64

How reproducible:
Some ppt files can not be opened

Steps to Reproduce:
1. Open terminal.
2. Open this file: ooffice http://www.microsoft.com/presspass/download/press/2008/02-01Yahoo.ppt
3.
  
Actual results:
A window with the error message "http://www.microsoft.com/presspass/download/press/2008/02-01Yahoo.ppt is not exit" pop up.

Expected results:
The file is opened successfully.

Additional info:
This file is opened successfully with openoffice3.0

Comment 1 David Tardon 2008-11-05 12:02:19 UTC
dtardon->caolanm: Was that functionality available in 2.3.0?

Comment 2 Caolan McNamara 2008-11-05 12:13:33 UTC
I see it works with a url/filetype of e.g. 
http://people.redhat.com/caolanm/file-chooser-spec.sxw

I'm not sure if this is e.g. not using/believing/knowing about the mime-type the server gives, or some other issue. reminds me of http://qa.openoffice.org/issues/show_bug.cgi?id=72068

Comment 3 Caolan McNamara 2008-11-05 14:28:47 UTC
http://people.redhat.com/caolanm/02-01Yahoo.ppt would work, but not direct from MS. Their web-server doesn't support "OPTIONS" like the old code expects, the new code uses "PROPGET" or whatever it is.

Attached is a painful backport that makes this work

Comment 4 Caolan McNamara 2008-11-05 14:29:19 UTC
Created attachment 322578 [details]
patch to fix

Comment 5 Caolan McNamara 2008-11-05 14:37:48 UTC
So the question is it work the risk to take this non-trivial semi-backport. We would get this for free with a 3.0 rebase and lower risk.

Comment 6 Lawrence Lim 2008-11-07 01:33:23 UTC
llim->caolanm, if u feel the risk is high, then we should not include the fix for EL5.

Comment 7 Caolan McNamara 2008-11-07 10:01:53 UTC
Having put the effort into backporting it I'm a little reluctant to throw that away, but it's spaghetti-like in here so I'm wary of what might go wrong. Will be good in a later release anyway.

Comment 8 RHEL Program Management 2008-11-07 10:23:18 UTC
Development Management has reviewed and declined this request.  You may appeal
this decision by reopening this request.