You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2015/03/24 18:20:45 UTC

[Issue 126203] New: Runtime error with password protected DB Basic macro libraries

https://bz.apache.org/ooo/show_bug.cgi?id=126203

          Issue ID: 126203
        Issue Type: DEFECT
           Summary: Runtime error with password protected DB Basic macro
                    libraries
           Product: Base
           Version: 4.1.1
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: P5
         Component: code
          Assignee: issues@openoffice.apache.org
          Reporter: gerhard.schaber@gmx.at

Created attachment 84617
  --> https://bz.apache.org/ooo/attachment.cgi?id=84617&action=edit
Test file for reproduction

Following up on issue 106303, there are still troubles with password protected
database macro libraries. It only happens with bug libraries.

The password for the attached file is testtest32. Open the file and run macro
foo2. There are a couple of errors (e.g., "unknown. Internal error $(ARG1).")
that do not show up anymore when I enter the password of the library.

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

[Issue 126203] Runtime error with password protected DB Basic macro libraries

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126203

schaber <ge...@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P5                          |P3

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

[Issue 126203] Runtime error with password protected DB Basic macro libraries

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126203

bmarcelly <ma...@club-internet.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marcelly@club-internet.fr
             Status|UNCONFIRMED                 |CONFIRMED
     Ever confirmed|0                           |1

--- Comment #1 from bmarcelly <ma...@club-internet.fr> ---
The module Module1 in your attachment contains 246146 characters.

Apache OpenOffice Basic does not work correctly with modules approaching or
exceeding 65535 characters.
For your information, the same errors appear in LibreOffice 4.3.5.

Easy work-around : 
Put your code into several routines stored in several modules of the same
library. Subroutine names are public to all modules.

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

[Issue 126203] Runtime error with password protected DB Basic macro libraries

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126203

--- Comment #2 from schaber <ge...@gmx.at> ---
Thanks for the hint.

I can confirm that splitting the huge module into many smaller modules under
65k characters is a workaround. The other advantage is that you need to get
your libraries well structured. There is just no clue when you hit the 65k
limit.

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