[mapguide-users] Fusion Error with search widget

torrini maria.kallbach at geoplanteam.ch
Tue Jul 29 23:11:37 PDT 2014


Hi list,

When setting up and making a search through my fusion layout I receive
following error:
"/
Error
Error Details:
Exception occurred in AJAX callback.
Message: sel is undefined
Location: http://localhost/mapguide/fusion/lib/fusionSF-compressed.js
(130983)
Inner Stack:
Fusion.Layers.MapGuide<.onNativeSelectionUpdate at http://localhost/mapguide/fusion/lib/fusionSF-compressed.js:130983:25
OpenLayers.Function.bind/<@http://localhost/mapguide/fusion/lib/fusionSF-compressed.js:46592:13
OpenLayers.Ajax.Request<.respondToReadyState at http://localhost/mapguide/fusion/lib/fusionSF-compressed.js:96882:1
OpenLayers.Ajax.Request<.onStateChange at http://localhost/mapguide/fusion/lib/fusionSF-compressed.js:96785:13
OpenLayers.Function.bind/<@http://localhost/mapguide/fusion/lib/fusionSF-compressed.js:46592:13

Response:
{"FeatureInformation":{"FeatureSet":[{"@xmlns:xsi":["http://www.w3.org/2001/XMLSchema-instance"],"@xsi:noNamespaceSchemaLocation":["FeatureSet-1.0.0.xsd"],"Layer":[{"@id":["c8aefb82-17ad-11e4-800e-005056bd7634"],"Class":[{"@id":["Default:Building_addresses_Street_name_Pos"],"ID":["zg8AAAAAAAA="]}]}]}],"Hyperlink":null,"InlineSelectionImage":null,"SelectedFeatures":null,"Tooltip":null}}

Stack Trace:
 - window.Fusion.ajaxException at
http://localhost/mapguide/fusion/lib/fusionSF-compressed.js (line: 792)
 - OpenLayers.Function.bind/< at
http://localhost/mapguide/fusion/lib/fusionSF-compressed.js (line: 46592)
 - OpenLayers.Ajax.Request<.dispatchException at
http://localhost/mapguide/fusion/lib/fusionSF-compressed.js (line: 96938)
 - OpenLayers.Ajax.Request<.respondToReadyState at
http://localhost/mapguide/fusion/lib/fusionSF-compressed.js (line: 96887)
 - OpenLayers.Ajax.Request<.onStateChange at
http://localhost/mapguide/fusion/lib/fusionSF-compressed.js (line: 96785)
 - OpenLayers.Function.bind/< at
http://localhost/mapguide/fusion/lib/fusionSF-compressed.js (line: 46592)

Source:
http://localhost/mapguide/fusion/templates/mapguide/aqua/index.html?ApplicationDefinition=Library://00_global/layout/aqua.ApplicationDefinition&locale=en/
"

This error occurs not before clicking on a search result. When clicking on a
search result to get there in the map this error occurs.
I can't make head or tail of "sel is undefined".

The search is as follows:
"/
<?xml version="1.0"?>
<WidgetType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="UiWidgetType">
  <Name>Search_street</Name>
  <Type>Search</Type>
  <Location />
  <Extension>
    <Target>TaskPane</Target>
    <Prompt>Suche nach einer Strasse</Prompt>
    <Layer>Building_addresses_Street_name_Pos</Layer>
    <Filter>Street_name LIKE '%$USER_VARIABLE%'</Filter>
    <MatchLimit>100</MatchLimit>
    <ResultColumns>
      <Column>
        <Name>Strasse</Name>
        <Property>Street_name</Property>
      </Column>
    </ResultColumns>
    <Title>Strasse</Title>
  </Extension>
  <ImageUrl>images/icons.png</ImageUrl>
  <ImageClass>search</ImageClass>
  <Label>Search</Label>
  <Tooltip>Click to carry out a search on the map data</Tooltip>
  <StatusText />
  <Disabled>false</Disabled>
</WidgetType>/
"

My installations are:
Win7 64bit
IIS 7
MapGuide 2.6.0.8303 (2.6 RC2)
Maestro 6.0.0.8244 (6.0a3)

Can anybody help me?



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Fusion-Error-with-search-widget-tp5154092.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list