[mapguide-users] Fusion Error with search widget

ANDRE LUIS ALVES DE OLIVEIRA andreoliveira.geo at gmail.com
Fri Aug 1 12:47:48 PDT 2014


Jackie,

I copied both files into the source location, but the search problem
persist yet. See error detail:

Error Details:

Exception occurred in AJAX callback.
Message: Cannot read property 'getNumLayers' of undefined
Location: undefined (undefined)
Inner Stack: TypeError: Cannot read property 'getNumLayers' of undefined
    at Object.Fusion.Layers.MapGuide.OpenLayers.Class.onNativeSelectionUpdate
(http://172.20.7.198:8008/mapguide/fusion/lib/fusionSF-compressed.js:3076:404)
    at http://172.20.7.198:8008/mapguide/fusion/lib/fusionSF-compressed.js:1171:474
    at Object.OpenLayers.Ajax.Request.OpenLayers.Class.respondToReadyState
(http://172.20.7.198:8008/mapguide/fusion/lib/fusionSF-compressed.js:2055:35)
    at Object.OpenLayers.Ajax.Request.OpenLayers.Class.onStateChange
(http://172.20.7.198:8008/mapguide/fusion/lib/fusionSF-compressed.js:2052:426)
    at XMLHttpRequest.
(http://172.20.7.198:8008/mapguide/fusion/lib/fusionSF-compressed.js:1171:474)
Response: {"FeatureInformation":{"FeatureSet":[{"@xmlns:xsi":["http://www.w3.org/2001/XMLSchema-instance"],"@xsi:noNamespaceSchemaLocation":["FeatureSet-1.0.0.xsd"],"Layer":[{"@id":["2e7e0c80-19b3-11e4-8009-000c2944f37e"],"Class":[{"@id":["public:lote_cadastral"],"ID":["jhYAAA=="]}]}]}],"Hyperlink":null,"InlineSelectionImage":null,"SelectedFeatures":null,"Tooltip":["CTM:
2322343390221\\nÁrea Geo: 266.35\\nMatrícula:
<http://172.20.7.198:8008/%22http://172.20.7.198/matricula/uploads//%22target=/%22new/%22>"]}}


Stack Trace:

 - ? at http://172.20.7.198:8008/mapguide/fusion/lib/fusionSF-compressed.js
(line: 54)
 - Object.Fusion.Layers.MapGuide.OpenLayers.Class.onNativeSelectionUpdate
at http://172.20.7.198:8008/mapguide/fusion/lib/fusionSF-compressed.js
(line: 3076)
 - ? at http://172.20.7.198:8008/mapguide/fusion/lib/fusionSF-compressed.js
(line: 1171)
 - Object.OpenLayers.Ajax.Request.OpenLayers.Class.respondToReadyState
at http://172.20.7.198:8008/mapguide/fusion/lib/fusionSF-compressed.js
(line: 2055)
 - Object.OpenLayers.Ajax.Request.OpenLayers.Class.onStateChange at
http://172.20.7.198:8008/mapguide/fusion/lib/fusionSF-compressed.js
(line: 2052)
 - XMLHttpRequest. at
http://172.20.7.198:8008/mapguide/fusion/lib/fusionSF-compressed.js
(line: 1171)
 - Object.window.Fusion.ajaxException at
http://172.20.7.198:8008/mapguide/fusion/lib/fusionSF-compressed.js
(line: 32)
 - ? at http://172.20.7.198:8008/mapguide/fusion/lib/fusionSF-compressed.js
(line: 1171)
 - Object.OpenLayers.Ajax.Request.OpenLayers.Class.dispatchException
at http://172.20.7.198:8008/mapguide/fusion/lib/fusionSF-compressed.js
(line: 2055)
 - Object.OpenLayers.Ajax.Request.OpenLayers.Class.respondToReadyState
at http://172.20.7.198:8008/mapguide/fusion/lib/fusionSF-compressed.js
(line: 2055)
 - Object.OpenLayers.Ajax.Request.OpenLayers.Class.onStateChange at
http://172.20.7.198:8008/mapguide/fusion/lib/fusionSF-compressed.js
(line: 2052)
 - XMLHttpRequest. at
http://172.20.7.198:8008/mapguide/fusion/lib/fusionSF-compressed.js
(line: 1171)


Source:

http://172.20.7.198:8008/mapguide/fusion/templates/mapguide/maroon/index.html?ApplicationDefinition=Library://GeoOsasco/4Layouts/Layout_maroon.ApplicationDefinition&locale=en


After update those files I must to recompile with FusionBuild again?

Regards.



2014-07-31 3:37 GMT-03:00 torrini <maria.kallbach at geoplanteam.ch>:

> Jackie,
> thanks for making a ticket on and solving this issue.
> Now it works again :-)
>
> -torrini
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/Fusion-Error-with-search-widget-tp5154092p5154321.html
> Sent from the MapGuide Users mailing list archive at Nabble.com.
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>



-- 
André Oliveira
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20140801/68a78376/attachment.html>


More information about the mapguide-users mailing list