Bug 304883

Summary: Uniqueness for integer column is not autodetected by the CSV Importer
Product: [Applications] KEXI Reporter: Jarosław Staniek <staniek>
Component: Migration/Import/ExportAssignee: Jarosław Staniek <staniek>
Status: CLOSED FIXED    
Severity: normal    
Priority: NOR    
Version: 2.5.0   
Target Milestone: 2.5   
Platform: Compiled Sources   
OS: All   
Latest Commit: Version Fixed In: 2.5.1
Sentry Crash Report:

Description Jarosław Staniek 2012-08-09 19:49:51 UTC
Kexi CSV Importer has type autodetection feature but uniqueness for integer column is not autodetected.

Reproducible: Always

Steps to Reproduce:
1. Start import for any CSV data file with integer column with unique non empty values

Actual Results:  
"Primary key" checkbox is not set for the column.

Expected Results:  
"Primary key" checkbox is set for the column initially.
Comment 1 Jarosław Staniek 2012-08-10 20:39:52 UTC
Git commit a64f278bf56389f0da1db2316d1674f63284e6ca by Jaroslaw Staniek.
Committed on 09/08/2012 at 21:49.
Pushed by staniek into branch 'calligra/2.5'.

CSV Import: Fix uniqueness detection for integer column
REVIEW:105949
FIXED-IN:2.5.1

M  +19   -14   kexi/plugins/importexport/csv/kexicsvimportdialog.cpp

http://commits.kde.org/calligra/a64f278bf56389f0da1db2316d1674f63284e6ca
Comment 2 Jarosław Staniek 2012-08-10 20:51:39 UTC
Git commit b0d49d7f72a954bce345923e7950c7444c0077cb by Jaroslaw Staniek.
Committed on 09/08/2012 at 21:49.
Pushed by staniek into branch 'master'.

CSV Import: Fix uniqueness detection for integer column
REVIEW:105949

M  +19   -14   kexi/plugins/importexport/csv/kexicsvimportdialog.cpp

http://commits.kde.org/calligra/b0d49d7f72a954bce345923e7950c7444c0077cb