To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=79951
                 Issue #|79951
                 Summary|load an OpenOffice document with webdav
               Component|api
                 Version|OOo 2.2
                Platform|PC
                     URL|
              OS/Version|All
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|www
             Assigned to|jsc
             Reported by|nfrisoni





------- Additional comments from [EMAIL PROTECTED] Tue Jul 24 08:54:05 +0000 
2007 -------
We are working on an integration of OpenOffice and Alfresco
(http://www.alfresco.com/), an Open Source CMS.
When trying to open an OpenOffice (2.2.0) document on a webdav server (url:
"http://myserver/webdav/myDoc.odt";), an error occured. 
        "Runtime error BASIC. 
         Une exception s'est produite :
         Type: com.sun.star.lang.ellegalArgumentException 
         Message : URL seems to be an unsupported one.."
My webdav server works well, I can open document from Firefox which support
webdav protocol. 
I can open document in local (file:///C:/myDoc.odt) and on remote server
(http://myserver/myDoc.odt)

Here is the code I used in Basic: 

StarDesktop = CreateUnoService("com.sun.star.frame.Desktop")
newDoc =
StarDesktop.LoadComponentFromURL(ConvertToUrl("http://myserver/webdav/cahier.odt";)
, "_blank", 0, Array())

You should be able to test the issue on the following server:
http://test.webdav.org/

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to