<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - error when saving a file, macro basic: 'storetourl' or 'storeAsurl'"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=123935">123935</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>error when saving a file, macro basic: 'storetourl' or 'storeAsurl'
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.1.5.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Writer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>emiliovillardavila@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>