Bug 93742 - New password protected library lose module and code
Summary: New password protected library lose module and code
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
5.0.1.2 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-28 11:57 UTC by Laurent Godard
Modified: 2015-08-28 15:08 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent Godard 2015-08-28 11:57:48 UTC
step to reproduce

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. Tools> Macros> Organize> LibO Basic and try edit code

The Module and code are not there (dataloss)

maybe related to issue 68983

Doing the other way, create module and code before setting the library password protected and save --> it is ok
Comment 1 pierre-yves samyn 2015-08-28 15:08:02 UTC
Hi

Not reproduced on  windows 7/64 & Version: 5.0.1.2
Build ID: 81898c9f5c0d43f3473ba111d7b351050be20261
Locale: fr-FR (fr_FR)

or Version: 5.0.1.2 (x64)
Build ID: 81898c9f5c0d43f3473ba111d7b351050be20261
Locale : fr-FR (fr_FR)

closed WORKSFORME as requested by Laurent (fr-discuss)

Regards
Pierre-Yves