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

            Bug ID: 93749
           Summary: New password protected library lose code after reload
           Product: LibreOffice
           Version: 5.0.1.2 release
          Hardware: Other
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: BASIC
          Assignee: [email protected]
          Reporter: [email protected]

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. tab Modules, select Library 1, Module 1 and click edit
4. do nothing, save the document as bar.odt
5. close all (document and macro ide)
6. open bar.odt
7. Tools> Macros> Organize> LibO Basic, click Organizer, tab Libraries,
location:bar.odt
8. Select Library 1, click password, provide one
9. Select Library 1 click edit
10. in module 1, sub main, add any string, say --> print "test"
11. save document inside basic IDE
12. close all (document and macro ide)
13. open bar.odt
14. Tools> Macros> Organize> LibO Basic, click Organizer, tab Modules
15. select bar.ods, Library 1 , Module 1

--> password is not requested (Library not password protected)
--> the string you add in step 10 has vanished 

The Module and code are not there (dataloss)

maybe related to bug 68983

Doing the other way, create module and code before setting the library password
protected and save --> it is ok

simplifying the use case, no problem see bug 93742
(add code just after creating the library without step 4 intermediate saving)

reproduced on 

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

Version: 4.4.3.2
Build ID: 88805f81e9fe61362df02b9941de8e38a9b5fd16
LocaleĀ : fr_FR

Version: 5.0.1.1
Build ID: 13f702ca819ea5b9f8605782c852d5bb513b3891
LocaleĀ : fr-FR (fr_FR.UTF-8)

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

Reply via email to