Issue 128513 - Basic IDE - macro assigned to a toolbar produces com.sun.star.uno.RuntimeException
Summary: Basic IDE - macro assigned to a toolbar produces com.sun.star.uno.RuntimeExce...
Status: UNCONFIRMED
Alias: None
Product: App Dev
Classification: Unclassified
Component: scripting (show other issues)
Version: 4.1.12
Hardware: PC Windows 7
: P5 (lowest) Minor
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-02 15:51 UTC by Czesław Wolański
Modified: 2022-06-02 15:51 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Warning message (24.97 KB, image/jpeg)
2022-06-02 15:51 UTC, Czesław Wolański
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Czesław Wolański 2022-06-02 15:51:59 UTC
Created attachment 87094 [details]
Warning message

Tested with a fresh AOO install on Windows, macro security level set to "Low".

Steps to reproduce:
1. Open Basic IDE
2. In the "Standard" Library, "Module 1", sub "Main"
   add the line:   MsgBox "Hello world!"
3. Save the library (if you like...)
4. Assign this macro to any toolbar (e.g. Standard).
5. Press the button on the toolbar

Result:
AOO displays a warning box:

com.sun.star.uno.RuntimeExceptioninvalid attempt to assign an empty interface of type com.sun.star.document.XEmbeddedScripts!


Looks like a regression.