[GRASS-dev] [bug #5127] (grass) v.digit: error after pressing 'Submit' button when the table has only a 'cat' column

Request Tracker grass-bugs at intevation.de
Mon Sep 11 15:59:09 EDT 2006


this bug's URL: http://intevation.de/rt/webrt?serial_num=5127
-------------------------------------------------------------------------

Subject: v.digit: error after pressing 'Submit' button when the table has only a 'cat' column

Platform: GNU/Linux/x86
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: 2006-09-11

$ v.digit -n testing

Settings -> Table -> Create table

(don't add any other columns!)

Digitize something - form window pops up. Press 'Submit'. The error:

Cannot update table:
DBMI-DBF driver error:
SQL parser error in statement:
update testing set  where cat = 1
Error in db_execute_immediate()

How could the situation be better handled to avoid this missleading bogus error?  Maybe deactivate 'Submit' button, when only a 'cat' column is present in the table?

Maciek


-------------------------------------------- Managed by Request Tracker




More information about the grass-dev mailing list