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

--- Comment #1 from Robert Großkopf <[email protected]> ---
Tested a little bit more.
When macro for "View is going to be closed" runs Base hangs.
It is the specific code of the following macro. Have put it in another database
file without any content except one (empty) table.

Sub ViewClosing
        DIM oConnection AS OBJECT, oData AS OBJECT, oDatasource AS OBJECT
        oDatasource = thisDatabaseDocument.CurrentController
        IF NOT (oDatasource.isConnected()) THEN oDatasource.connect()
        oData = oDatasource.DataSource()
        oData.flush
End Sub

Note: Flushing of data for Firebird had been integrated since LO 25.8. Don't
know the exact version. So the code won't be needed for current version, but
Base shouldn't crash when executing in LO 26.2.

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

Reply via email to