[QGIS-trac] Re: [Quantum GIS] #2534: avoid the possibility to enter
-in attributes table- strings/numbers beyond the field length
Quantum GIS
qgis at qgis.org
Wed Mar 16 05:26:34 EDT 2011
#2534: avoid the possibility to enter -in attributes table- strings/numbers beyond
the field length
------------------------------------------------+---------------------------
Reporter: lutra | Owner: sunilkcube
Type: bug | Status: assigned
Priority: major: does not work as expected | Milestone: Version 1.7.0
Component: Vectors | Version: Trunk
Keywords: | Platform_version:
Platform: All | Must_fix: Yes
Status_info: 0 |
------------------------------------------------+---------------------------
Comment(by jef):
Replying to [comment:4 sunilkcube]:
> I have attached the patch file, Kindly reply your comments.
Looks good.
Just two things:
1. the validator only returns Invalid or Acceptable, while the child
validators might als return Intermediate.
2. There doesn't seem to be support for (the configurable string
representation of) NULL. If the value is some not yet complete part of
NULL the validator should also return Intermediate and ignore the size
limitations in that case.
--
Ticket URL: <http://trac.osgeo.org/qgis/ticket/2534#comment:5>
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