[fdo-trac] #829: "Internal error" is meaningless in most contexts
where it is thrown
FDO
trac_fdo at osgeo.org
Mon May 14 11:59:03 EDT 2012
#829: "Internal error" is meaningless in most contexts where it is thrown
-----------------------------+----------------------------------------------
Reporter: jng | Owner: gregboone
Type: defect | Status: new
Priority: major | Milestone:
Component: ODBC Provider | Version: 3.6.0
Severity: 3 | Keywords:
External_id: |
-----------------------------+----------------------------------------------
I've been trying to query a ODBC-configured Feature Class (X/Y columns
mapped to point geometries) in the latest MGOS 2.4 beta (using FDO 3.7),
querying the feature class will cause the provider to throw "internal
error".
Doing the same query with FDO Toolbox 1.0 (using FDO 3.6) throws the same
error.
I've looked at GenericRdbms source (mostly FdoRdbmsFilterProcessor.cpp)
finding the cases where the "internal error" exception is thrown and over
half of them are due to a FDO logical property being mapped to a non-
existent physical column.
In such cases, throwing an exception with the message "Could not find the
mapped physical column for property %s" is a much more helpful one as I
already know that something in my ODBC configuration document is causing
this error.
Such a message like the one proposed gives me greater context for
debugging the problem.
--
Ticket URL: <http://trac.osgeo.org/fdo/ticket/829>
FDO <http://fdo.osgeo.org/>
Feature Data Objects
More information about the fdo-trac
mailing list