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

Buovjaga <ilmari.lauhakan...@libreoffice.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ilmari.lauhakangas@libreoff
                   |                            |ice.org
     Ever confirmed|0                           |1
           Keywords|                            |filter:xls
         Whiteboard| QA:needsComment            |
             Status|UNCONFIRMED                 |NEW

--- Comment #4 from Buovjaga <ilmari.lauhakan...@libreoffice.org> ---
I confirm with office.com

Arch Linux 64-bit, X11
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 4c06cfcd13195e9e996bc09dbee2dcac1c5e8ed2
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 20 January 2023

(In reply to Óvári from comment #0)
> ```
> A Scripting Framework error occurred while running the UNKNOWN script
> UNKNOWN.
> 
> Message: Incorrecct format for Script URI:
> /run/build/libreoffice/scripting/source/provider/MasterScriptProvider.css:238
> ```

The code block is:

// need to get the language from the string

Reference< uri::XUriReferenceFactory > xFac ( uri::UriReferenceFactory::create(
m_xContext )  );

Reference<  uri::XUriReference > uriRef = xFac->parse( scriptURI );

Reference < uri::XVndSunStarScriptUrl > sfUri( uriRef, UNO_QUERY );

if ( !uriRef.is() || !sfUri.is() )
{
    throw provider::ScriptFrameworkErrorException(
        "Incorrect format for Script URI: " + scriptURI,
        Reference< XInterface >(),
        scriptURI, "",
        provider::ScriptFrameworkErrorType::UNKNOWN );
}

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to