[QGIS-trac] [Quantum GIS] #2534: avoid the possibility to enter -in
attributes table- strings/numbers beyond the field length
Quantum GIS
qgis at qgis.org
Mon Mar 8 09:13:56 EST 2010
#2534: avoid the possibility to enter -in attributes table- strings/numbers beyond
the field length
------------------------------------------------+---------------------------
Reporter: lutra | Owner: nobody
Type: bug | Status: new
Priority: major: does not work as expected | Milestone: Version 1.5.0
Component: Vectors | Version: HEAD
Keywords: | Platform_version:
Platform: All | Must_fix: Yes
Status_info: 0 |
------------------------------------------------+---------------------------
Actually you can enter values in the attributes table with a length that
is > of the field length. This can be source of problems as a users can be
mislead to believe the field has room for more chars/numbers than has
really.
Fixing this will also indirectly fix another bug:
if the attributes table has only one row and you edit it, if you enter a
value that has more chars/numbers than allowed by the field length, when
you toggle editing to save changes, the value is not immediately truncated
leading to believe that that particular edit went fine.
--
Ticket URL: <http://trac.osgeo.org/qgis/ticket/2534>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats
More information about the QGIS-trac
mailing list