Bug 389029

Summary: Crash when table view containing combo boxes is re-used
Product: [Applications] KEXI Reporter: Jarosław Staniek <staniek>
Component: TablesAssignee: Jarosław Staniek <staniek>
Status: CLOSED FIXED    
Severity: crash CC: adam, inksi
Priority: NOR    
Version: 3.1.0 Alpha   
Target Milestone: 3.1   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 3.1.0

Description Jarosław Staniek 2018-01-15 22:05:07 UTC
Possible crash when table view containing combo boxes is re-used.

To reproduce:
- design a table with combo boxes referencing detail tables, e.g. 2 columns
- go to data view, add one record
- go to the designer and change the design by e.g. renaming one column
- go back to data view and try to add one record using the last combo box
- effect: crash because capacity of the new record's data is insufficient
Comment 1 Jarosław Staniek 2018-01-15 22:07:16 UTC
Git commit d98f53f12f0dec3660089b6e8b633ba62527e83b by Jaroslaw Staniek.
Committed on 15/01/2018 at 22:06.
Pushed by staniek into branch 'master'.

Fix possible crash when table view containing combo boxes is re-used
FIXED-IN:3.1.0

M  +2    -5    src/widget/dataviewcommon/kexidataawareobjectiface.cpp

https://commits.kde.org/kexi/d98f53f12f0dec3660089b6e8b633ba62527e83b