https://issues.apache.org/ooo/show_bug.cgi?id=119399

--- Comment #8 from bmarcelly <[email protected]> ---
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.

Reply via email to