[Libreoffice-bugs] [Bug 123935] New: error when saving a file, macro basic: 'storetourl' or 'storeAsurl'

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Mar 8 07:16:54 UTC 2019


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

            Bug ID: 123935
           Summary: error when saving a file, macro basic: 'storetourl' or
                    'storeAsurl'
           Product: LibreOffice
           Version: 6.1.5.2 release
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: emiliovillardavila at gmail.com

Description:
the following command line, basic, no longer works, in the current LibreOffice
versions v6.1.5 or v6.2.1:

sub prueba
    Dim args(0) As New com.sun.star.beans.PropertyValue                         
   thisComponent.storeAsurl("C:\FicherosCecop\prueba.odt", args())  
   'thisComponent.storetourl("C:\FicherosCecop\prueba.odt", args())     
end sub

Steps to Reproduce:
1. execute this command: thisComponent.storeAsurl(...) or 
thisComponent.storetourl

2.
sub prueba
    Dim args(0) As New com.sun.star.beans.PropertyValue                         
   thisComponent.storeAsurl("C:\FicherosCecop\prueba.odt", args())  
   'thisComponent.storetourl("C:\FicherosCecop\prueba.odt", args())     
end sub

3.an exception occurs

Actual Results:
Error de ejecución de BASIC.
Se ha producido una excepción 
Type: com.sun.star.io.IOException
Message: SfxBaseModel::impl_store <C:\FicherosCecop\prueba.odt> failed:
0x81a(Error Area:Io Class:Parameter Code:26).

Expected Results:
this works well with all previous versions, in the latest versions it no longer
works


Reproducible: Always


User Profile Reset: No



Additional Info:
[Information automatically included from LibreOffice]
Locale: es
Module: TextDocument
[Information guessed from browser]
OS: Windows (All)
OS is 64bit: no

-- 
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/20190308/c07af028/attachment.html>


More information about the Libreoffice-bugs mailing list