https://bugs.freedesktop.org/show_bug.cgi?id=68983

          Priority: medium
            Bug ID: 68983
          Assignee: libreoffice-bugs@lists.freedesktop.org
           Summary: "Save As" a document containing a macro library
                    protected by password corrupts the password of the
                    macro library
          Severity: critical
    Classification: Unclassified
                OS: All
          Reporter: pierre-yves.sa...@laposte.net
          Hardware: Other
            Status: UNCONFIRMED
           Version: 4.1.0.4 release
         Component: BASIC
           Product: LibreOffice

Created attachment 85255
  --> https://bugs.freedesktop.org/attachment.cgi?id=85255&action=edit
LibraryPassword.odt (after step 5)

Hello

May be related to bug 68981

"Save As" a document containing a macro library protected by password corrupts
the password of the macro library

Steps to Reproduce:

Open the attached LibraryPassword.odt document and continue to step 6, or
follow steps 1-5 below and continue.

1. File> New> Text document
2. Tools> Macros> Organize> LibO Basic, click Organizer, tab Libraries,
location:Untitled 1, click New, name Library1, Ok
3. Click Password: foo (confirm), Ok
4. Click Edit: in Module1 of Library1, create the following macro:

sub Main
msgbox "Hello"
End Sub

5. Save the document and *close it*.
6. Reopen the document
7. File> Save As> Test.odt 
8. Tools> Macros> Organize> LibO Basic> Test.odt > Library1
Type the password (foo).

Expected result: password verified and ability to edit
Actual result: error message "Incorrect Password", access denied

Remarks: Bug vicious, macros always work and you can not see that the library
cannot be edited

Best regards
Pierre-Yves

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to