If name of existing object is picked when saving a new object, the existing object should be removed and replaced by the new one. Reproducible: Always Steps to Reproduce: 1. Desing a new object (e.g. table) 2. Select "Save" and pick name of existing table Actual Results: Kexi warns about existing table and rejects saving. Expected Results: Kexi warns about existing table, and after confirmation the existing object is removed and replaced.
Git commit 8a2624aaadd63cefa8955d58c225bef760f8b671 by Jaroslaw Staniek. Committed on 15/10/2012 at 01:49. Pushed by staniek into branch 'master'. Overwriting object with the same name is now possible REVIEW:106903 M +4 -2 kexi/core/KexiMainWindowIface.h M +9 -2 kexi/core/KexiView.cpp M +10 -1 kexi/core/KexiView.h M +12 -3 kexi/core/KexiWindow.cpp M +1 -2 kexi/core/KexiWindow.h M +7 -0 kexi/core/kexiproject.cpp M +0 -2 kexi/main/CMakeLists.txt M +18 -53 kexi/main/KexiMainWindow.cpp M +2 -1 kexi/main/KexiMainWindow.h D +0 -115 kexi/main/kexinamedialog.cpp D +0 -61 kexi/main/kexinamedialog.h M +4 -2 kexi/plugins/autoforms/KexiAutoFormDesignView.cpp M +3 -1 kexi/plugins/autoforms/KexiAutoFormDesignView.h M +4 -3 kexi/plugins/forms/kexiformview.cpp M +3 -1 kexi/plugins/forms/kexiformview.h M +5 -5 kexi/plugins/importexport/csv/kexicsvimportdialog.cpp M +6 -1 kexi/plugins/queries/kexiquerydesignerguieditor.cpp M +3 -1 kexi/plugins/queries/kexiquerydesignerguieditor.h M +7 -2 kexi/plugins/queries/kexiquerydesignersql.cpp M +3 -1 kexi/plugins/queries/kexiquerydesignersql.h M +5 -3 kexi/plugins/queries/kexiqueryview.cpp M +3 -1 kexi/plugins/queries/kexiqueryview.h M +4 -2 kexi/plugins/reports/kexireportdesignview.cpp M +3 -1 kexi/plugins/reports/kexireportdesignview.h M +4 -2 kexi/plugins/scripting/kexiscripting/kexiscriptdesignview.cpp M +3 -1 kexi/plugins/scripting/kexiscripting/kexiscriptdesignview.h M +9 -3 kexi/plugins/tables/kexitabledesignerview.cpp M +3 -1 kexi/plugins/tables/kexitabledesignerview.h M +2 -0 kexi/widget/CMakeLists.txt A +201 -0 kexi/widget/KexiNameDialog.cpp [License: LGPL (v2+)] A +81 -0 kexi/widget/KexiNameDialog.h [License: LGPL (v2+)] R +3 -4 kexi/widget/KexiNameWidget.cpp [from: kexi/main/kexinamewidget.cpp - 098% similarity] R +4 -2 kexi/widget/KexiNameWidget.h [from: kexi/main/kexinamewidget.h - 097% similarity] M +10 -10 libs/db/connection.cpp M +1 -1 libs/db/connection.h M +1 -1 libs/db/drivers/sqlite/sqliteconnection.cpp M +2 -2 libs/db/utils.cpp http://commits.kde.org/calligra/8a2624aaadd63cefa8955d58c225bef760f8b671
Git commit 112f193183af0c757a9a69df408035ed0493755d by Jaroslaw Staniek. Committed on 15/10/2012 at 01:49. Pushed by staniek into branch 'kexi-altertable-staniek'. Overwriting object with the same name is now possible REVIEW:106903 M +4 -2 kexi/core/KexiMainWindowIface.h M +9 -2 kexi/core/KexiView.cpp M +10 -1 kexi/core/KexiView.h M +12 -3 kexi/core/KexiWindow.cpp M +1 -2 kexi/core/KexiWindow.h M +7 -0 kexi/core/kexiproject.cpp M +0 -2 kexi/main/CMakeLists.txt M +18 -53 kexi/main/KexiMainWindow.cpp M +2 -1 kexi/main/KexiMainWindow.h D +0 -115 kexi/main/kexinamedialog.cpp D +0 -61 kexi/main/kexinamedialog.h M +4 -2 kexi/plugins/autoforms/KexiAutoFormDesignView.cpp M +3 -1 kexi/plugins/autoforms/KexiAutoFormDesignView.h M +4 -3 kexi/plugins/forms/kexiformview.cpp M +3 -1 kexi/plugins/forms/kexiformview.h M +5 -5 kexi/plugins/importexport/csv/kexicsvimportdialog.cpp M +6 -1 kexi/plugins/queries/kexiquerydesignerguieditor.cpp M +3 -1 kexi/plugins/queries/kexiquerydesignerguieditor.h M +7 -2 kexi/plugins/queries/kexiquerydesignersql.cpp M +3 -1 kexi/plugins/queries/kexiquerydesignersql.h M +5 -3 kexi/plugins/queries/kexiqueryview.cpp M +3 -1 kexi/plugins/queries/kexiqueryview.h M +4 -2 kexi/plugins/reports/kexireportdesignview.cpp M +3 -1 kexi/plugins/reports/kexireportdesignview.h M +4 -2 kexi/plugins/scripting/kexiscripting/kexiscriptdesignview.cpp M +3 -1 kexi/plugins/scripting/kexiscripting/kexiscriptdesignview.h M +9 -3 kexi/plugins/tables/kexitabledesignerview.cpp M +3 -1 kexi/plugins/tables/kexitabledesignerview.h M +2 -0 kexi/widget/CMakeLists.txt A +201 -0 kexi/widget/KexiNameDialog.cpp [License: LGPL (v2+)] A +81 -0 kexi/widget/KexiNameDialog.h [License: LGPL (v2+)] R +3 -4 kexi/widget/KexiNameWidget.cpp [from: kexi/main/kexinamewidget.cpp - 098% similarity] R +4 -2 kexi/widget/KexiNameWidget.h [from: kexi/main/kexinamewidget.h - 097% similarity] M +10 -10 libs/db/connection.cpp M +1 -1 libs/db/connection.h M +1 -1 libs/db/drivers/sqlite/sqliteconnection.cpp M +2 -2 libs/db/utils.cpp http://commits.kde.org/calligra/112f193183af0c757a9a69df408035ed0493755d