Skip to main content

Can't open tables from DataBase

Portal Admin
Published on: 15/12/2010 Discussion Archived

After define a DB access and select a table to view I press accept button an get an exception (gvSIG.log attached) (warning! this text appears only console, not in gvSIG.log): org.gvsig.tools.dynobject.exception.DynObjectValidateException: Errors found validating 'PostgreSQLStoreParameters'. Required field 'DefaultGeometryField' is null.     org.gvsig.tools.dynobject.impl.DefaultDynClass.validate(DefaultDynClass.java:474)     org.gvsig.fmap.dal.spi.AbstractDataParameters.validate(AbstractDataParameters.java:150)     org.gvsig.fmap.dal.store.postgresql.PostgreSQLStoreParameters.validate(PostgreSQLStorePara It could be because 'DefaultGeometryField' parameter is marked as required. It's Ok for layers but, what about alphanumeric tables?



OperatingSystemNone
BuildNumberIRIX
SubprojectResolveBuildNumberNeutrino
ResolutionValidated
Severitymajor
SubprojectNamegvSIG
ComponentgvSIG - Tables
VersiongvSIG - 2.0.0
SubprojectVersiongvSIG - 2.0.0
SubprojectResolveVersionNone
Has patchNo

Category

Bugs

Comments

Anonymous (not verified) Wed, 18/05/2011 - 15:51

Change the defaultGeometryAttribute parameter to non mandatory, so a JDBC data store might be used for a table document. If the parameter is empty, the first attribute of geometry type found will be set as the default one, just in case. Changeset: [gvsig-desktop 35182] But there are other errors to be solved, as it still does not work

Anonymous (not verified) Wed, 18/05/2011 - 16:43

Solved bug in the disposal of layers. That affected the view document instead of the table one. The first one seems to work now, but a bit slow. Changeset [gvsig-desktop 35183]

Anonymous (not verified) Wed, 18/05/2011 - 16:48

Tables are now able to be open to a database, so I will change the status to fixed. But I think it is working too slow now, so I will open another ticket for it.

Login or create an account to comment.