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

            Bug ID: 162841
           Summary: Re-saving a password-protected Basic library fails an
                    assertion
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

1. Create a new Writer document;
2. Tools->Macros->Organize Macros->Basic;
3. [Organizer];
4. "Libraries" tab -> Location: Untitled 1
5. [New]->"Library1"->[OK]
6. [Password]->"1234"->[OK]
7. "Modules" tab -> Untitled 1 -> Library1/Module1 ->[Edit]
8. Add something to Main - e.g., MsgBox "foo"
9. Save
10. Reload (confirm macros)
11. Tools->Macros->Run Macro; select document's Library1/Module1/Main
12. [Run] -> shows the message box
13. Save (Ctrl+S)

=> Assertion is failed at
https://opengrok.libreoffice.org/xref/core/package/source/zippackage/ZipPackageStream.cxx?r=e5aa87ae#663

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

Reply via email to