[Issue] AOO 4.1.5 Mac: Base crashes with macro autoexec

Discuss the database features

[Issue] AOO 4.1.5 Mac: Base crashes with macro autoexec

Postby charlie.it » Sat Jan 06, 2018 10:26 pm

Can anyone test this macro inserted as autoexec in a Base file?
With version 4.1.5 for Mac, it crashes Base at each boot.
With version 4.1.3 for Mac it works regularly.
Code: Select all   Expand viewCollapse view
REM  *****  BASIC  *****
Sub autoexec
Dim InteractionHandler As Object
InteractionHandler = createUnoService("com.sun.star.sdb.InteractionHandler")
ThisDatabaseDocument.CurrentController.connect("","")
ThisDatabaseDocument.FormDocuments.getByName ( "Formulario1" ).open
End Sub


Issue reported by a user on the Italian forum: https://forum.openoffice.org/it/forum/v ... 773#p47838
Attachments
prova-autoexc.odb
(11.06 KiB) Downloaded 38 times
Last edited by Hagar Delest on Mon Jan 08, 2018 10:02 pm, edited 1 time in total.
Reason: tagged [Issue] (link to a bug report).
charlie
macOS 10.12 Sierra: Open Office 4.1.5 - LibreOffice 5.4.3.2
Windows 7 pro (VirtualBox): Open Office 4.1.5 - LibreOffice 5.4.4.2
Ubuntu 17.04 LTE (VirtualBox): LibreOffice 5.1.6.2
http://www.charlieopenoffice.altervista.org
User avatar
charlie.it
Volunteer
 
Posts: 304
Joined: Wed Aug 21, 2013 2:12 pm
Location: Italy

Re: AOO 4.1.5 Mac: Base crashes with macro autoexec

Postby Villeroy » Sat Jan 06, 2018 10:38 pm

Works fine with AOO 4.1.5 on Linux (Ubuntu 64 bit)
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04, OpenOffice 4.x & LibreOffice 6.x
User avatar
Villeroy
Volunteer
 
Posts: 25984
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: AOO 4.1.5 Mac: Base crashes with macro autoexec

Postby charlie.it » Sat Jan 06, 2018 10:43 pm

Thank you, I think it's a Mac problem. I'm trying with windows 7 now.
charlie
macOS 10.12 Sierra: Open Office 4.1.5 - LibreOffice 5.4.3.2
Windows 7 pro (VirtualBox): Open Office 4.1.5 - LibreOffice 5.4.4.2
Ubuntu 17.04 LTE (VirtualBox): LibreOffice 5.1.6.2
http://www.charlieopenoffice.altervista.org
User avatar
charlie.it
Volunteer
 
Posts: 304
Joined: Wed Aug 21, 2013 2:12 pm
Location: Italy

Re: AOO 4.1.5 Mac: Base crashes with macro autoexec

Postby charlie.it » Sat Jan 06, 2018 10:50 pm

Works fine with AOO 4.1.5 on Windows 7.
charlie
macOS 10.12 Sierra: Open Office 4.1.5 - LibreOffice 5.4.3.2
Windows 7 pro (VirtualBox): Open Office 4.1.5 - LibreOffice 5.4.4.2
Ubuntu 17.04 LTE (VirtualBox): LibreOffice 5.1.6.2
http://www.charlieopenoffice.altervista.org
User avatar
charlie.it
Volunteer
 
Posts: 304
Joined: Wed Aug 21, 2013 2:12 pm
Location: Italy

Re: AOO 4.1.5 Mac: Base crashes with macro autoexec

Postby charlie.it » Sat Jan 06, 2018 11:07 pm

charlie
macOS 10.12 Sierra: Open Office 4.1.5 - LibreOffice 5.4.3.2
Windows 7 pro (VirtualBox): Open Office 4.1.5 - LibreOffice 5.4.4.2
Ubuntu 17.04 LTE (VirtualBox): LibreOffice 5.1.6.2
http://www.charlieopenoffice.altervista.org
User avatar
charlie.it
Volunteer
 
Posts: 304
Joined: Wed Aug 21, 2013 2:12 pm
Location: Italy

Re: [Issue] AOO 4.1.5 Mac: Base crashes with macro autoexec

Postby charlie.it » Thu Jan 11, 2018 9:20 am

Has no other Mac user verified this issue?
charlie
macOS 10.12 Sierra: Open Office 4.1.5 - LibreOffice 5.4.3.2
Windows 7 pro (VirtualBox): Open Office 4.1.5 - LibreOffice 5.4.4.2
Ubuntu 17.04 LTE (VirtualBox): LibreOffice 5.1.6.2
http://www.charlieopenoffice.altervista.org
User avatar
charlie.it
Volunteer
 
Posts: 304
Joined: Wed Aug 21, 2013 2:12 pm
Location: Italy

Re: [Issue] AOO 4.1.5 Mac: Base crashes with macro autoexec

Postby Mikelkel » Wed Oct 31, 2018 10:05 am

Hi all
I had a look on the reported bug (https://bz.apache.org/ooo/show_bug.cgi?id=127646)
It seems nothing was done to fix this issue
Anybody found a way to bypass this bug ?
Thanks
OpenOffice 4.1.3 on Sierra 10.12.6
Mikelkel
 
Posts: 1
Joined: Wed Oct 31, 2018 9:59 am

Re: [Issue] AOO 4.1.5 Mac: Base crashes with macro autoexec

Postby charlie.it » Thu Nov 01, 2018 10:45 am

No news, the problem is also present in development version 4.1.6!
https://forum.openoffice.org/en/forum/v ... 16&t=95714
charlie
macOS 10.12 Sierra: Open Office 4.1.5 - LibreOffice 5.4.3.2
Windows 7 pro (VirtualBox): Open Office 4.1.5 - LibreOffice 5.4.4.2
Ubuntu 17.04 LTE (VirtualBox): LibreOffice 5.1.6.2
http://www.charlieopenoffice.altervista.org
User avatar
charlie.it
Volunteer
 
Posts: 304
Joined: Wed Aug 21, 2013 2:12 pm
Location: Italy

Re: [Issue] AOO 4.1.5 Mac: Base crashes with macro autoexec

Postby charlie.it » Sun Nov 11, 2018 4:20 pm

Confirm the issue with 4.1.6 RC !
charlie
macOS 10.12 Sierra: Open Office 4.1.5 - LibreOffice 5.4.3.2
Windows 7 pro (VirtualBox): Open Office 4.1.5 - LibreOffice 5.4.4.2
Ubuntu 17.04 LTE (VirtualBox): LibreOffice 5.1.6.2
http://www.charlieopenoffice.altervista.org
User avatar
charlie.it
Volunteer
 
Posts: 304
Joined: Wed Aug 21, 2013 2:12 pm
Location: Italy


Return to Base

Who is online

Users browsing this forum: No registered users and 1 guest