Apache OpenOffice (AOO) Bugzilla – Issue 108375
OO Base : crash on a search in a form
Last modified: 2017-05-20 10:24:19 UTC
OpenOffice Base crashes when clicking on the search button in a form. Procedure (in OO Base 3.2.0 RC2 French) : 1. Open attached database (where do we attach files ?? Hope the issue tracker allows me to attach files later on) 2. Open form : "Saisie Clients" 3. Click on the "Search a record" (binoculars) button
Created attachment 67231 [details] Sample crashing database
Note : the base was created under OOo 3.1.0 FR
I tested on linux with en_US version no crash. Changed subcomponent.
Checked w/ Win XP, OOO320_RC2 Confirmed that using the supplied bug doc, the Salisie Cients form, place cursor in 'Client Name' field, attempt to open Record/Search dialog - crash Crash report id: r3rk8wc Note - I have not been able to reproduce except with this one form in this file. Tried changing properties on dataform/controls to try and find what makes it unique, sorry - darned if I can see anything.
The problem here is that the form contains a grid control which is not initially visible. As long as it has not been made visible, the respective UNO object really doesn't exist, yet. Unfortunately, the code for form searches (which is a decade old) doesn't account for this. (Well, non-existing UNO controls are an invention of the recent year, so ... nonetheless, it could have been more tolerant). Workaround: scroll to the bottom of the form, so the control becomes visible. The search as desired.
Created attachment 67250 [details] patch
fixed in CWS invisiblegridsearch (http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=OOO320%2Finvisiblegridsearch)
targeting to OOo 3.2.1 (approval from release team still pending)
fs->msc: please verify in CWS dba321a
verified in CWS dba321a find more information about this CWS, like when it is available in the master builds, in EIS, the Environment Information System: http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=DEV300%2Fdba321a