[GRASS-dev] [GRASS GIS] #1735: WXGUI attribute table manager doesn't meet with 1 normal form

#1735: WXGUI attribute table manager doesn't meet with 1 normal form
--------------------------+-------------------------
  Reporter: marisn | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 6.4.6
Component: wxGUI | Version: svn-trunk
Resolution: | Keywords:
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------

Comment (by mlennert):

AFAICT, the problem comes from the fact that both
[https://trac.osgeo.org/grass/browser/grass/trunk/gui/wxpython/dbmgr/base.py#L390
GetSelectedItems()] and
[https://trac.osgeo.org/grass/browser/grass/trunk/gui/wxpython/dbmgr/base.py#L400
GetItems()] call GetItemText which in the wxpython < Phoenix returns the
first column. In Phoenix it apparently takes an argument col= which allows
to chose a specific column by index.

Probably, the solution would be to rewrite GetSelectedItems and GetItems
to get the entire data row and then select the relevant column...

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1735#comment:4&gt;
GRASS GIS <https://grass.osgeo.org>