We think something broke in the nex (refactored) gis subsystem ...
Geoserver layers are now appearing in the gis navigation panel (which is fine).
However cmdbuild seems to think it will have to manage this layer itself.
The javascript error is :
GisLayer.js:544 Uncaught TypeError: Cannot read property 'getFeatures' of undefined
and then:
jquery-1.8.2.min.js:3 POST http://217.128.169.210:8080/cmdbuild/services/json/gis/getgeocardlist?CMDBuild-Authorization=jl750q3qj4rb4jd2von0v2b71e 500 (Internal Server Error)
In cmdbuild.log we have
Caused by: org.postgresql.util.PSQLException: ERROR: Relation ? gis.Detail__Geoserver_floorXXX ? does not exist
Any hint ?
Thx for the answer. Will try ASAP
Previously Tecnoteca wrote:
you are absolutely right,
the system can't understand that is a geo server layer due to an error and takes all layers like attributes layer
it takes an attribute SHAPE and not the correct masterTable Name
there are three points in the js code:
. type === "SHAPE"
and have to be
.masterTableName === "_Geoserver"
ln 249 in view/management/classes/map/geoextension/Map.js
ln 341 in view/management/classes/map/CMap.js
ln 240 in view/management/classes/map/geoextension/InteractionDocument.js
we will correct the bug
CMDBuild Team
It works
(went to bitbucket and applied commit
https://bitbucket.org/tecnoteca/cmdbuild/commits/8769a56f1566b6b53376b6d7ad97860270cf64fc)
thanks.
Previously P. wrote:
Thx for the answer. Will try ASAP
Previously Tecnoteca wrote:
you are absolutely right,
the system can't understand that is a geo server layer due to an error and takes all layers like attributes layer
it takes an attribute SHAPE and not the correct masterTable Name
there are three points in the js code:
. type === "SHAPE"
and have to be
.masterTableName === "_Geoserver"
ln 249 in view/management/classes/map/geoextension/Map.js
ln 341 in view/management/classes/map/CMap.js
ln 240 in view/management/classes/map/geoextension/InteractionDocument.js
we will correct the bug
CMDBuild Team