Apache OpenOffice (AOO) Bugzilla – Issue 122589
AOO Base crash when delete table from query design and close the design window
Last modified: 2017-05-20 11:41:57 UTC
Steps: 1. Select "Create Query in Design View" from Queries 2. In window "Add Table or Query", select a table, and click "Add" three times to add 3 same table 3. Select the first table and click "Delete" (1 table is removed, and no table is selected at this moment) 4. Click "Delete" 5. Select the second table and click "Delete"(the second table is removed) 6. Select the last table and click "Delete"(the last table is removed) 7. Click "X" to close the window "Add Table or Query" Actual result: AOO crashes Expected result: no crashes
ALG: In step (3) could not find a 'Delete' to click on, pressed 'del' on keyboard In Step (4) could not find a 'Delete' to click on, 'del' on keyboard does nothing. Similar in other steps.
ALG: TableViews get deleted which are not part of the QueryTableView due to the missing focus (see (3)). Fix by checking if TableView is registered at QueryTableView before removing it.
Created attachment 80975 [details] Check TableView for membership before removal
ALG: Added possible solution
set showstopper flag
"alg" committed SVN revision 1498841 into trunk: i122589 check if element is added before removing and deleting it (well, put ...
ALG: Okay, done, fixed.
grant flag again, didn't worked the first time, it's fixed already
It's verified fixed in revision 1499347