[Libreoffice-bugs] [Bug 135594] New: Unable to access a file in server throu macro

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Aug 10 09:23:33 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=135594

            Bug ID: 135594
           Summary: Unable to access a file in server throu macro
           Product: LibreOffice
           Version: 7.0.0.3 release
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Base
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: karadaidis at hotmail.com

Created attachment 164090
  --> https://bugs.documentfoundation.org/attachment.cgi?id=164090&action=edit
error message

I used   the following   macro in BASE to open a file stored in  the server
until version 6.4.5.2 (64)of LO. (win 10 pro /2004.

sub open_file
'-----------------
    oform = thisComponent.drawpage.forms.MainForm
    surl = convertToUrl(oform.getstring(oform.findcolumn("URL")))
    if surl = "" then
        msgbox ("No Url found",16,"Error")
        exit sub
    endif
    oShell = createUnoService("com.sun.star.system.SystemShellExecute")
    oShell.execute(surl,,0)
end sub

After updating to LO 7.0.03 I get an error message (attached) saying that "
Windows can not find the file:///Z:/%CE.......". Be sure that you typed the
correct name and try again.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200810/b0f04d74/attachment.htm>


More information about the Libreoffice-bugs mailing list