[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 17 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: 292
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 16.04, OpenOffice 4.x & LibreOffice 5.x
User avatar
Villeroy
Volunteer
 
Posts: 25384
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: 292
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: 292
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: 292
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: 292
Joined: Wed Aug 21, 2013 2:12 pm
Location: Italy


Return to Base

Who is online

Users browsing this forum: No registered users and 8 guests