Bug 385071

Summary: Cannot assign query to report if table with the same name exists
Product: [Applications] KEXI Reporter: Jarosław Staniek <staniek>
Component: Reports and PrintoutsAssignee: Jarosław Staniek <staniek>
Status: CLOSED FIXED    
Severity: normal CC: adam, inksi
Priority: HI    
Version: 3.1.0 Alpha   
Target Milestone: 3.1   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jarosław Staniek 2017-09-25 22:44:29 UTC
Cannot assign query to report if table with the same name exists. Table is selected as the data source instead.

Reports should keep information about type of data data source. 

The fix should be made backward compatible (i.e. table should be the default type).
Comment 1 Jarosław Staniek 2017-09-25 23:25:02 UTC
Git commit 9f7e374b2867044161156ed6661c22cb15a43b94 by Jaroslaw Staniek.
Committed on 25/09/2017 at 23:20.
Pushed by staniek into branch 'master'.

Reports now keep information about type of data data source (table or query). Detects if needed.

M  +10   -0    src/kexiutils/utils.cpp
M  +6    -0    src/kexiutils/utils.h
M  +1    -9    src/plugins/reports/KexiDBReportDataSource.cpp
M  +1    -3    src/plugins/reports/KexiDBReportDataSource.h
M  +3    -1    src/plugins/reports/kexireportview.cpp
M  +9    -2    src/plugins/reports/kexisourceselector.cpp

https://commits.kde.org/kexi/9f7e374b2867044161156ed6661c22cb15a43b94