Hello,
it seems it is a bug from mapserve (I am not sure) which not send id
from request. You have to patch mapserver if it is this bug. This patch
could be found in the cartoweb website (again not sure).
Y.
jouini manel a écrit :
I'm Working with cartoweb 3.2
When I query data from a shapefile there is no problem but when I do
it with data from postgis database I encounter some problems like this:
Class : SoapFaultWrapper
Message : Attribute query returned no results. Layer: edit_parc, idAttribute: parcnat_id, query: parcnat_id in ('8') Backtrace: file: 254 - C:\wamp\www\cartoweb3\coreplugins\mapquery\server\ServerMapquery.php call: ServerMapquery->queryLayerByAttributes(Object(ServerContext), "edit_parc", "parcnat_id", "parcnat_id in ('8')", False) file: 381 - C:\wamp\www\cartoweb3\coreplugins\query\server\ServerQuery.php call: ServerMapquery->queryByIdSelection(Object(QuerySelection)) file: 464 - C:\wamp\www\cartoweb3\coreplugins\query\server\ServerQuery.php call: ServerQuery->hilight(Array(7), Array(7))
file: 74 - C:\wamp\www\cartoweb3\server\ServerPluginHelper.php call: ServerQuery->handlePreDrawing(Object(QueryRequest)) file: 133 - C:\wamp\www\cartoweb3\server\ServerPluginHelper.php call: ServerPluginHelper->callHandleFunction(Object(ServerQuery), "handlePreDrawing") file: UNKNOWN - UNKNOWN call: ClientResponderHelper->handlePreDrawingHelper(Object(ServerQuery)) file: 267 - C:\wamp\www\cartoweb3\common\PluginManager.php call: call_user_func_array(Array(2), Array(1)) file: 285 - C:\wamp\www\cartoweb3\common\PluginManager.php call: PluginManager->callPluginImplementing(Object(ServerQuery), "ClientResponder", "handlePreDrawing", Array(0)) file: 295 - C:\wamp\www\cartoweb3\server\Cartoserver.php call: PluginManager->callPluginsImplementing("ClientResponder", "handlePreDrawing") file: 337 - C:\wamp\www\cartoweb3\server\Cartoserver.php call: Cartoserver->doGetMap(Object(MapRequest)) file: 358 -
C:\wamp\www\cartoweb3\server\Cartoserver.php call: Cartoserver->callWithExceptionCheck("doGetMap",
Object(MapRequest)) file: 81 - C:\wamp\www\cartoweb3\server\MapResultCache.php call:
Cartoserver->cacheGetMap(Object(MapRequest)) file: 192 - C:\wamp\www\cartoweb3\server\MapResultCache.php call:
MapResultCache->getMapResultFromServer(Object(MapRequest)) file: 368 - C:\wamp\www\cartoweb3\server\Cartoserver.php call:
MapResultCache->getMap(Object(MapRequest)) file: 104 - C:\wamp\www\cartoweb3\client\CartoserverService.php call:
Cartoserver->getMap(Object(MapRequest)) file: 158 - C:\wamp\www\cartoweb3\client\CartoserverService.php call:
CartoserverService->callDirect("getMap", Object(MapRequest)) file: 226 -
C:\wamp\www\cartoweb3\client\CartoserverService.php call: CartoserverService->callFunction("getMap",
Object(MapRequest)) file: 776 - C:\wamp\www\cartoweb3\client\Cartoclient.php call:
CartoserverService->getMap(Object(MapRequest)) file: 892 -
C:\wamp\www\cartoweb3\client\Cartoclient.php call:
Cartoclient->getMapResultFromRequest(Object(MapRequest)) file: 1027 -
C:\wamp\www\cartoweb3\client\Cartoclient.php call: Cartoclient->doMain() file: 38 -
C:\wamp\www\cartoweb3\htdocs\client.php call: Cartoclient->main() file: 3 -
C:\wamp\www\cartoweb3\htdocs\client_intern.php call:
require_once("C:\wamp\www\cartoweb3\htdocs\client.php") please help me
------------------------------------------------------------------------
*Faites de Yahoo! votre page d'accueil sur le web* pour retrouver
directement vos services préférés : vérifiez vos nouveaux mails,
lancez vos recherches et suivez l'actualité en temps réel. Cliquez ici
<http://us.rd.yahoo.com/mail/mail_taglines/yahoofr/*http://fr.yahoo.com/set>.
------------------------------------------------------------------------
_______________________________________________
Cartoweb-users mailing list
[email protected]
http://lists.maptools.org/mailman/listinfo/cartoweb-users
_______________________________________________
Cartoweb-users mailing list
[email protected]
http://lists.maptools.org/mailman/listinfo/cartoweb-users