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

            Bug ID: 151741
           Summary: Basic Macro Organizer: Data loss when moving to a new
                    library and renaming it
           Product: LibreOffice
           Version: 7.3.2.2 release
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: BASIC
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: p...@documentfoundation-bugzilla.mail.kapsi.fi

Hi.

Basic Macro Organizer causes permanent data loss when a module is moved to a
new library which is then subsequently renamed (without closing the dialog in
between).

Steps to reproduce:

1) Open Basic Macro Organizer
2) Create a new module "MyModule"
        - Modules > New... > "MyModule" > OK
3) Close Basic Macro Organizer
        - Possibly edit contents in the macro editor and save any modifications
        - Verify that a corresponding "MyModule.xba" exists on filesystem

2) Open Basic Macro Organizer again
3) Create a new library "MyLibrary"
        - Libraries > New... > "MyLibrary > OK
4) Move "MyModule" to "MyLibrary"
        - Modules > Drag & Drop "MyModule" to "MyLibrary"
        - Note that "MyModule.xba" is no longer present on filesystem
5) Rename "MyLibrary" to "MyLibraryIsLost"
        - Libraries > Select "MyLibrary" > Press F2 (or a corresponding key to
rename) > "MyLibraryIsLost" > Enter
        - Neither "MyLibrary" nor "MyLibraryIsLost" is visible in Modules
anymore

At this point, it is no longer possible to recover the now lost data, even if
the Basic Macro Organizer dialog is not closed.

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

Reply via email to