Bug 293344 - Import dialog buggy
Summary: Import dialog buggy
Status: CONFIRMED
Alias: None
Product: kphotoalbum
Classification: Applications
Component: Import/Export (other bugs)
Version First Reported In: SVN trunk (KDE4 version)
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KPhotoAlbum Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-05 07:21 UTC by Miika Turkia
Modified: 2019-04-12 00:07 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miika Turkia 2012-02-05 07:21:18 UTC
Version:           SVN trunk (KDE4 version)
OS:                Linux

The import dialog has some faults in it.
1) If importing .kim file that has new/unknown categories none of them might be checked by default on Match Categories view. In this case if someone clicks next the import function is ended prematurely.
2) If one advances from Match Categories and then hits Back to tune the category selections, all the options are disabled.
3) The selection in Match Categories does not seem to reflect to what is configured afterwards.
4) New categories are not created as would be needed by the import file - I think an option should be added to the Match Categories view to create new category (in the drop down menu of "key in your database" could include "Create - <orig name>")
5) Keywords e.g. from my Latin Name category are inserted to Events by default if the destination KPA has only the default categories. It appears that this matching is used even though the check box for this mapping is not enabled in the Match Categories view.

Reproducible: Always

Steps to Reproduce:
Use the import .kim feature. Try with non-matching categories in the import file and in the destination KPA.


Expected Results:  
1) Continue the import function normally
2) Have the selections enabled
3) Matching the categories should reflect to what is configured afterwards, that is the selected categories and only them should be worked on
4) Add new category to own database should be added as option
5) If one category is not selected, it should be ignored

Should probably start looking from ImportExport/ImportDialog.cpp and functions ImportDialog::createCategoryPages and ImportDialog::next.