You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2012/05/22 14:58:36 UTC
[Bug 119399] New: LoadComponentFromUrl fails for http:// url with
UTF-8 encoding (regression)
https://issues.apache.org/ooo/show_bug.cgi?id=119399
Priority: P3
Bug ID: 119399
Assignee: ooo-issues@incubator.apache.org
Summary: LoadComponentFromUrl fails for http:// url with UTF-8
encoding (regression)
Severity: normal
Issue Type: DEFECT
Classification: Code
OS: Windows XP
Reporter: donjaime@freenet.de
Hardware: PC
Status: UNCONFIRMED
Version: OOo 3.4 Beta
Component: code
Product: api
Created attachment 77577
--> https://issues.apache.org/ooo/attachment.cgi?id=77577&action=edit
Spreadsheet containing a macro that tries to open two urls
Using StarDesktop.LoadComponentFromUrl in OO 3.4.0 (always?) fails when loading
a document encoded in UTF-8 over http. It worked in 3.3.x.
Specifying filter options doesn't help.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 119399] LoadComponentFromUrl fails for http:// url with UTF-8
encoding (regression)
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119399
--- Comment #11 from DonJaime <do...@freenet.de> ---
The UTF-8 encoding is the difference between urls that load successfully and
those that don't. The failure may be a symptom of a more general problem, but
that's what I observed.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 119399] LoadComponentFromUrl fails for http:// url
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119399
--- Comment #16 from Ariel Constenla-Haile <ar...@apache.org> ---
(In reply to comment #8)
> Created attachment 77609 [details]
> Test if web pages exist, using css.ucb.SimpleFileAccess
works after updating to serf 1.2.0
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
[Bug 119399] LoadComponentFromUrl fails for http:// url with UTF-8
encoding (regression)
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119399
louqle <lo...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |louqingle@gmail.com
Version|OOo 3.4 Beta |AOO 3.4.0
--- Comment #7 from louqle <lo...@gmail.com> ---
On OpenOffice.org 3.4.0 Win7 64-bit
URL http://donjaime.de works
URL http://openoffice.org does NOT work
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 119399] LoadComponentFromUrl fails for http:// url
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119399
Bug 119399 depends on bug 121202, which changed state.
Bug 121202 Summary: webdav ucp seems broken
https://issues.apache.org/ooo/show_bug.cgi?id=121202
What |Removed |Added
----------------------------------------------------------------------------
Status|CONFIRMED |RESOLVED
Resolution|--- |FIXED
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.
[Bug 119399] LoadComponentFromUrl fails for http:// url
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119399
Ariel Constenla-Haile <ar...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Depends on| |121202
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 119399] LoadComponentFromUrl fails for http:// url with UTF-8
encoding (regression)
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119399
Oliver-Rainer Wittmann <or...@googlemail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |orwittmann@googlemail.com
--- Comment #5 from Oliver-Rainer Wittmann <or...@googlemail.com> ---
I can not reproduce the defect on my machine running AOO 3.4 on Windows 7.
Note: http://openoffice.org is redirected to http://www.openoffice.org which is
completely handled by the http client used in AOO 3.4
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 119399] LoadComponentFromUrl fails for http:// url with UTF-8
encoding (regression)
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119399
--- Comment #9 from brinzing <ol...@gmx.de> ---
>Run the macro in this attachment.
i can confirm the problem: oo33 is ok, aoo 3.4 fails (vista 32bit)
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 119399] LoadComponentFromUrl fails for http:// url with UTF-8
encoding (regression)
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119399
bmarcelly <ma...@club-internet.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |marcelly@club-internet.fr
--- Comment #2 from bmarcelly <ma...@club-internet.fr> ---
Works for me.
OpenOffice.org 3.3.0 OOO330m20 on Windows XP
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 119399] LoadComponentFromUrl fails for http:// url with UTF-8
encoding (regression)
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119399
--- Comment #6 from Oliver-Rainer Wittmann <or...@googlemail.com> ---
I can not reproduce the described defect on my virtual machine running AOO 3.4
on Windows XP
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 119399] LoadComponentFromUrl fails for http:// url
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119399
--- Comment #14 from Ariel Constenla-Haile <ar...@apache.org> ---
(In reply to comment #13)
> Once I update serf to 1.2.0, this problem is not happen anymore on Linux
> environment.
Can you open a bug requesting to update serf?
May be this solves all the problems documented in bug 121202
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 119399] LoadComponentFromUrl fails for http:// url with UTF-8
encoding (regression)
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119399
brinzing <ol...@gmx.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |oliver.brinzing@gmx.de
--- Comment #1 from brinzing <ol...@gmx.de> ---
.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 119399] LoadComponentFromUrl fails for http:// url
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119399
Ariel Constenla-Haile <ar...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |CONFIRMED
Summary|LoadComponentFromUrl fails |LoadComponentFromUrl fails
|for http:// url with UTF-8 |for http:// url
|encoding (regression) |
Ever confirmed|0 |1
--- Comment #12 from Ariel Constenla-Haile <ar...@apache.org> ---
Confirming
The issue is in the underlying WEBDAV UCP implementation.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 119399] LoadComponentFromUrl fails for http:// url
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119399
--- Comment #15 from Ariel Constenla-Haile <ar...@apache.org> ---
(In reply to comment #0)
> Created attachment 77577 [details]
> Spreadsheet containing a macro that tries to open two urls
works after updating to serf 1.2.0
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
[Bug 119399] LoadComponentFromUrl fails for http:// url
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119399
Ariel Constenla-Haile <ar...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|CONFIRMED |RESOLVED
Resolution|--- |FIXED
Target Milestone|--- |AOO 4.0
--- Comment #17 from Ariel Constenla-Haile <ar...@apache.org> ---
Fixed on trunk
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
[Bug 119399] LoadComponentFromUrl fails for http:// url with UTF-8
encoding (regression)
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119399
Ariel Constenla-Haile <ar...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |arielch@apache.org
--- Comment #10 from Ariel Constenla-Haile <ar...@apache.org> ---
I can confirm with attachment 77577 and attachment 77609
but
a) I'm not sure both bugs are related, so may be a new bug for the
SimpleFileAccess should be created
b) where is the "UTF-8 encoding" from the bug subject in attachment 77577 ? It
looks like a more general problem. The subject should be changed accordingly.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 119399] LoadComponentFromUrl fails for http:// url with UTF-8
encoding (regression)
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119399
--- Comment #8 from bmarcelly <ma...@club-internet.fr> ---
Created attachment 77609
--> https://issues.apache.org/ooo/attachment.cgi?id=77609&action=edit
Test if web pages exist, using css.ucb.SimpleFileAccess
Probably the same bug :
Simple File Access does not always recognize the existence of a web file.
Run the macro in this attachment.
Sub Main
Dim sfa As Object
Dim web As String
sfa = CreateUnoService("com.sun.star.ucb.SimpleFileAccess")
' run this on AOO 3.4.0
web = "http://www.openoffice.org/api/docs/common/ref/index-files/index-1.html"
MsgBox("Does this web page exist ? " & sfa.exists(web), 0, web) ' False !
wait 10
web = "https://issues.apache.org/ooo/"
MsgBox("Does this web page exist ? " & sfa.exists(web), 0, web) ' True
wait 10
web = "http://www.apache.org/"
MsgBox("Does this web page exist ? " & sfa.exists(web), 0, web) ' False !
wait 10
web = "http://www.fieggen.com/shoelace/index.htm"
MsgBox("Does this web page exist ? " & sfa.exists(web), 0, web) ' True
End Sub
On OpenOffice 3.3.0 all these addresses return True.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 119399] LoadComponentFromUrl fails for http:// url
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119399
hanya <ha...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hanya.runo@gmail.com
--- Comment #13 from hanya <ha...@gmail.com> ---
Once I update serf to 1.2.0, this problem is not happen anymore on Linux
environment.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 119399] LoadComponentFromUrl fails for http:// url with UTF-8
encoding (regression)
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119399
--- Comment #4 from bmarcelly <ma...@club-internet.fr> ---
Sorry for my previous comment. I mixed up versions...
On OpenOffice.org 3.4.0, AOO 340m1, Windows XP :
URL http://donjaime.de works for me
URL http://www.reuters.com works for me
URL http://openoffice.org does NOT work (exception URL seems to be an
unsupported one)
Maybe it depends on the web server.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 119399] LoadComponentFromUrl fails for http:// url with UTF-8
encoding (regression)
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119399
--- Comment #3 from DonJaime <do...@freenet.de> ---
(In reply to comment #2)
> Works for me.
> OpenOffice.org 3.3.0 OOO330m20 on Windows XP
Works for me in 3.3.x as well. It's a bug in version 3.4.0, as I said.
I should have made it clearer that "specifying filter options doesn't help"
referred to setting the encoding to UTF8.
--
You are receiving this mail because:
You are the assignee for the bug.