Issue 121202 - webdav ucp seems broken
Summary: webdav ucp seems broken
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: 3.4.1
Hardware: All All
: P3 Normal (vote)
Target Milestone: ---
Assignee: jsc
QA Contact:
URL:
Keywords: regression
Depends on: 121845 121922 121926
Blocks: 119399 121057 121201 121844
  Show dependency tree
 
Reported: 2012-10-12 07:25 UTC by Ariel Constenla-Haile
Modified: 2013-10-21 14:49 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Wriiter document with a Basic macro to test (9.35 KB, application/vnd.oasis.opendocument.text)
2013-01-31 22:47 UTC, Ariel Constenla-Haile
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Ariel Constenla-Haile 2012-10-12 07:25:29 UTC
This is a meta-issue, tracking what seems to be a webdav ucp failure:

* extensions update cannot be downloaded
* XComponentLoader::loadComponentFromURl fails if url protocol is http
* XSimpleFileAccess::exists fails if url protocol is http
* linking to external data in calc fails if protocol is http

Failure seems random.
Comment 1 jsc 2012-10-12 08:54:06 UTC
I can't reproduce at least the loadComponentFromUrL problem. I uploaded a test document in my people directory and was able to load this document via our own file open dialog.
Comment 2 jsc 2012-10-12 08:59:03 UTC
I tried also to copy the mysql connector in my people test directory and was able to open the oxt via the file dialog as well and it get installed.
Comment 3 Ariel Constenla-Haile 2012-10-12 09:51:44 UTC
(In reply to comment #2)
> I tried also to copy the mysql connector in my people test directory and was
> able to open the oxt via the file dialog as well and it get installed.

Testing with people.apache.org does not work to reproduce the bug, for example if you copy the document mentioned in https://issues.apache.org/ooo/show_bug.cgi?id=121057#c6 it may work. But using the original URL gives an error in webdav ucp.

The three bug119399 bug 121057 and bug 121201 *are* reproducible with the URLs mentioned in the bugs, and setting break point in the source code leads to the webdav utcp failing (apr status 20014).
Comment 4 jsc 2012-10-12 09:56:57 UTC
I agree but it shows that it is more a problem with this specific server.
Comment 5 Oliver-Rainer Wittmann 2012-10-22 11:26:53 UTC
CC myself
Comment 6 Ariel Constenla-Haile 2013-01-31 22:47:40 UTC
Created attachment 80187 [details]
Wriiter document with a Basic macro to test

Dim aURL$
aURL =  convertToURL(_
"http://people.apache.org/~arielch/packages/rpm-desktop-integration-fixed.txt")
	
Dim oUCB
oUCB = CreateUnoService("com.sun.star.ucb.UniversalContentBroker")

Dim oContentId
oContentId = oUCB.createContentIdentifier(aURL)

Dim oContent
oContent = oUCB.queryContent(oContentId)


oContent is NULL
Comment 7 Ariel Constenla-Haile 2013-01-31 22:54:16 UTC
(In reply to comment #6)
> Created attachment 80187 [details]
> Wriiter document with a Basic macro to test
> 
> Dim aURL$
> aURL =  convertToURL(_
> "http://people.apache.org/~arielch/packages/rpm-desktop-integration-fixed.
> txt")
> 	
> Dim oUCB
> oUCB = CreateUnoService("com.sun.star.ucb.UniversalContentBroker")
> 
> Dim oContentId
> oContentId = oUCB.createContentIdentifier(aURL)
> 
> Dim oContent
> oContent = oUCB.queryContent(oContentId)
> 
> 
> oContent is NULL

It isn't NULL with OOo 3.4.0 BETA OOO340m0 Build 9583
The regression is likely introduced with the introduction of APR in replacement of license-incompatible components
Comment 8 Ariel Constenla-Haile 2013-02-25 14:28:14 UTC
(In reply to comment #6)
> Created attachment 80187 [details]
> Wriiter document with a Basic macro to test
> 
> Dim aURL$
> aURL =  convertToURL(_
> "http://people.apache.org/~arielch/packages/rpm-desktop-integration-fixed.
> txt")
> 	
> Dim oUCB
> oUCB = CreateUnoService("com.sun.star.ucb.UniversalContentBroker")
> 
> Dim oContentId
> oContentId = oUCB.createContentIdentifier(aURL)
> 
> Dim oContent
> oContent = oUCB.queryContent(oContentId)
> 
> 
> oContent is NULL

Works after updating serf to 1.2.0
Comment 9 jsc 2013-02-25 14:44:46 UTC
add issue dependency to serf update
Comment 10 Pedro Giffuni 2013-03-08 06:22:22 UTC
It may be unrelated but JIC someone should review Revision 1433176 and 1433258 ( same loc) where there was a precedence issue affecting ucp.

(I could"ve done a cleaner fix but I didnt want to copy the exact code from elsewhere.)
Comment 11 Ariel Constenla-Haile 2013-03-21 03:58:31 UTC
Added dependency on bug 121926
This affects PROPFIND and other requests.
Comment 12 jsc 2013-10-21 14:49:12 UTC
fixed