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

            Bug ID: 88092
           Summary: Globals and Main are not available as expected.
           Product: LibreOffice
           Version: 4.3.5.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: blocker
          Priority: medium
         Component: Database
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 111825
  --> https://bugs.freedesktop.org/attachment.cgi?id=111825&action=edit
testingA version

My testing was done on Fedora 20 with LibreOffice 4.3.5.2 downloaded from
Libreoffice, and on Fedora 21 with LibreOffice 4.3.4.1 as supplied by Fedora.

The attached files are identical except that testingA has Sub Main executed at
Document open, and testingB has Sub Main executed at Form/Document open.

The database associated with each file is empty, so the event PriorToReset will
execute the Sub PriorToReset immediately when the form is opened.

Please run testingA and note its behavior and then run testingB and note the
drastic differences.

testingA will display a msgbox output from Main immediately upon execution. It
proves that the struct and the string are properly initialized in Main.
testingB never displays that msgbox, so the conclusion must be that Main never
ran. That's to be expected since the Sub Main is supposed to run at
form/Document open time.

For testingA, executing the form shows the first of several msgbox outputs that
can only mean the struct has lost its initialization, but the string maintains
the initialization. Subsequent msgbox outputs are identical to the first. Note
the final value that appears in the Date field. It is the default date I set as
the minimum date.

For TestingB, executing the form again shows the first of several msgbox
outputs, the first of which shows that neither the struct or the string are
initialized. The second and subsequent msgbox outputs show that both the struct
and string are now somehow miraculously initialized properly. Note the date in
the date field. That's what it should contain. Further note that the msgbox
from the Sub Main is never displayed during the entire testingB execution. That
msgbox should have been the first msgbox to display at form startup, but it
never showed.

Can you rationally explain the differences in these executions as not being a
bug?

Essentially both LibreOffice environments I have access to produced the same
results.

The operational differences I saw between LibreOffice versions was that with
Version 4.3.5.2, the msgbox outputs appear on the application screen and not on
the form data entry screen. In version 4.3.4.1, all the msgbox outputs are on
the form data entry screen where I would expect them.

-- 
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