Bug 278511

Summary: Import Tables wizard can advance to next screen without selecting a file to import
Product: [Applications] KEXI Reporter: Dimitrios T Tanis <dimitrios.tanis>
Component: Migration/Import/ExportAssignee: Jarosław Staniek <staniek>
Status: CLOSED FIXED    
Severity: minor    
Priority: NOR    
Version: 2.4 alpha3 (Calligra 2.4 alpha3)   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 2.4 beta8 (Calligra 2.4 beta8)

Description Dimitrios T Tanis 2011-07-25 21:52:58 UTC
Version:           2.4 alpha3 (Calligra 2.4 alpha3) (using KDE 4.6.0) 
OS:                Linux

Nothing special here.

Reproducible: Always

Steps to Reproduce:
Click Import Tables > Click Next.
At "Select Location for Source Database" don't select anything.
Click Next

Actual Results:  
The wizard advances to the next screen displaying empty screens.
Only when reaching the final screen "Importing" and hitting Next there is a message informing that "No table was selected to import".

Expected Results:  
The Next button should be disabled, until the user selects a file to import, OR
the Message "No table was selected to import" should be displayed when clicking next with no file selected for import.
Comment 1 Dimitrios T Tanis 2012-02-14 22:39:47 UTC
Git commit fc09f101bb5c1b804912eab68ed0acb4798d07b2 by Dimitrios T. Tanis.
Committed on 14/02/2012 at 23:31.
Pushed by tanis into branch 'kexi-features-tanis'.

Fix import wizard moving to next screen without selecting source.

Next button in Tables Import Wizard is disabled until a valid database
to import from has been selected.
2.4 RC1

M  +8    -0    kexi/migration/importtablewizard.cpp
M  +2    -0    kexi/migration/importtablewizard.h
M  +34   -0    kexi/widget/KexiConnectionSelectorWidget.cpp
M  +7    -1    kexi/widget/KexiConnectionSelectorWidget.h

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