[Libreoffice-bugs] [Bug 128006] Macro warning dialog is prompted on every function or sub call

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Oct 19 08:22:07 UTC 2019


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

Oliver Brinzing <oliver.brinzing at gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW
           Hardware|x86-64 (AMD64)              |All
            Version|6.3.2.1 rc                  |6.2.7.1 release
                 OS|Linux (All)                 |All
           Keywords|                            |bibisectRequest, regression
           See Also|                            |https://bugs.documentfounda
                   |                            |tion.org/show_bug.cgi?id=97
                   |                            |694

--- Comment #4 from Oliver Brinzing <oliver.brinzing at gmx.de> ---
i tried:
- open Biblioteca.odb - the *.odb file itself does not contain macros.
- select Forms -> Autores
- select button [Biblioteca]

but get an error:
A Scripting Framework error occurred while running the Basic script
vnd.sun.star.script:Standard.Module1.openFormByTag?language=Basic&location=application.
Message: The following Basic script could not be found:
library: 'Standard'
module: 'Module1'
method: 'openFormByTag'
location: 'application'

to make it work, you need also a macro in My Macros/Standard/Module1, e.g.:

REM  *****  BASIC  *****
Sub openFormByTag(oEvt)
  MsgBox "Hello World"
End Sub

now i can confirm, with:

Version: 6.3.2.2 (x64)
Build-ID: 98b30e735bda24bc04ab42594c85f7fd8be07b9c
CPU-Threads: 4; BS: Windows 10.0; UI-Render: Standard; VCL: win; 
Gebietsschema: de-DE (de_DE); UI-Sprache: de-DE
Calc: 

and Security Level:

- Very High/High
  warning: "This document contains macros. Macros may contain viruses. 
  Execution of macros is disabled due to the current macro security setting"
  -> but macro will be excuted, cause it is located in trusted zone "My Macros"

- Medium
  warning, with an option to activate macros
  -> macro will be executed, does not matter if one disables macros in dialog,
     cause it is located in trusted zone "My Macros"

- Low
  no warning
  -> macro will be executed

*not* reproducible (no warnings) with:

Version: 6.1.6.3 (x64)
Build-ID: 5896ab1714085361c45cf540f76f60673dd96a72
CPU-Threads: 4; BS: Windows 10.0; UI-Render: Standard; 
Gebietsschema: de-DE (de_DE); Calc: 


btw: another problem with base and Macro Security Level:
Bug 97694 - Base macros cannot be digitally signed

-- 
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/20191019/c227be19/attachment-0001.html>


More information about the Libreoffice-bugs mailing list