grass icon indicating copy to clipboard operation
grass copied to clipboard

wxGUI/dbmgr: don't add new duplicated table col into table desc TableListCtrl widget

Open tmszi opened this issue 3 years ago • 0 comments

Describe the bug Duplicated column name be added into table description TableListCtrl widget (see screenshot below).

To Reproduce Steps to reproduce the behavior:

  1. Launch Attribute Table Manager e.g g.gui.dbmgr geology
  2. Switch to Manage tables page (tab)
  3. Add new column with same name as existed col name GEO_NAME
  4. You see correct error dialog with message: Column <GEO_NAME> already exists in table .
  5. Duplicated column name is added into table description TableListCtrl widget

wxgui_dbmgr_add_duplicated_col_name_def

Expected behavior Duplicated column name shouldn't be added into table description TableListCtrl widget

System description (please complete the following information):

  • Operating System: all
  • GRASS GIS version: all

tmszi avatar Jun 15 '22 06:06 tmszi