Summary: | Crash when settting report's data source to query | ||
---|---|---|---|
Product: | [Applications] KEXI | Reporter: | Martin Kampas <martin.kampas+kdebugs> |
Component: | Reports and Printouts | Assignee: | Jarosław Staniek <staniek> |
Status: | CLOSED FIXED | ||
Severity: | crash | CC: | dimitrios.tanis |
Priority: | NOR | ||
Version: | 2.3.3 (KOffice 2.3.3) | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | Kexi 2.4.0 (Calligra 2.4.0) | |
Attachments: | Example DB file to crash Kexi when setting data to a label in a report |
Description
Martin Kampas
2011-09-10 07:47:56 UTC
I am unable to reproduce this crash, could you please attach the small sample .kexi file using 'Add an attachment' link below? Thanks. I can't reproduce this either. Created attachment 68716 [details]
Example DB file to crash Kexi when setting data to a label in a report
Crashes every time I try with the attached file. Gentoo, KDE 4.8.0, Kexi 2.3.3.
Exact steps:
1. Start Kexi, open the file
2. Double click on "report1" in navigator
3. Switch to concept mode
4. Enlarge the report
5. Add a label
6. In property editor select internal source "over26"
7. Click "Set Data"
8. Click "Set Data" again - crash
I hunted this bug down and found that it has to do with setting a query as a data source. I've changed the title to better describe the bug. This bug stands as of 2.4 Beta 7 and can be reproduced every time. This bug is exposed in two ways: 1) Setting a query as a data source for a report and clicking set data twice, 2) Setting a query as a data source (clicking once) and switching to data view. Git commit 9408a8234ac6096736862a859f43dc34190b8ff2 by Jaroslaw Staniek. Committed on 13/03/2012 at 23:57. Pushed by staniek into branch 'master'. Fix deep copying of KexiDB query schema and ORDER BY structures KexiDB *Fix deep copying of query schema and ORDER BY structures **This removes crashes related, e.g. in reports based on queries with joins Related: bug 246928 FIXED-IN: Kexi 2.4.0 (Calligra 2.4.0) M +67 -43 kexi/kexidb/queryschema.cpp M +9 -5 kexi/kexidb/queryschema.h http://commits.kde.org/calligra/9408a8234ac6096736862a859f43dc34190b8ff2 Tested the attached db - still something to fix... Git commit 1ed7070a5181406469709e41db386f24a6fb9aea by Jaroslaw Staniek. Committed on 13/03/2012 at 23:57. Pushed by staniek into branch 'calligra/2.4'. Fix deep copying of KexiDB query schema and ORDER BY structures KexiDB *Fix deep copying of query schema and ORDER BY structures **This removes crashes related, e.g. in reports based on queries with joins Related: bug 246928 FIXED-IN: Kexi 2.4.0 (Calligra 2.4.0) M +67 -43 kexi/kexidb/queryschema.cpp M +9 -5 kexi/kexidb/queryschema.h http://commits.kde.org/calligra/1ed7070a5181406469709e41db386f24a6fb9aea Git commit e60656ccb660a092fd83fb790fc31db449072047 by Jaroslaw Staniek. Committed on 27/06/2012 at 11:40. Pushed by staniek into branch 'master'. Predicate: Fix deep copying of query schema and ORDER BY structures *This removes crashes related, e.g. in reports based on queries with joins *(2012-03-13 calligra master commit 9408a8234ac60) Related: bug 246928 DIGEST: All improvements ported from KexiDB connectivity library to Predicate (http://community.kde.org/Predicate). M +71 -50 Predicate/QuerySchema.cpp M +10 -6 Predicate/QuerySchema.h http://commits.kde.org/predicate/e60656ccb660a092fd83fb790fc31db449072047 |