[mapguide-users] Legend and runtime Layer filter

Kenneth Skovhede, GEOGRAF A/S ks at geograf.dk
Fri Apr 17 02:46:55 EDT 2009


That would suggest that the data in the resource is invalid xml?
Have you tried to examine the layerDefString variable before the crash?

Regards, Kenneth Skovhede, GEOGRAF A/S



Matteo skrev:
> Hi Kenneth,
>   I have found the bug. The problem is on BuildLayerDefinitionData sub of Legend.aspx file. When the sub process a runtime layer the line doc.LoadXml(layerDefString) get a error. I solve the problem saving the xml definition of layer in a file and load it
>
> The same problem there is in MapGuide Enterprise 2010 so I think also in MapGuide Open Source 2.1
>
> Regards
> Matteo
>
>
> Have you tried with a subset of the filter? eg: only: callStatus like 
> 'Completed'.
> I have had trouble with composite filters on OGR datasources, but single 
> filters work fine.
> The "valid = 01" part looks a little suspicious to me, is "valid" a 
> numeric or text column?
>
> Regards, Kenneth Skovhede, GEOGRAF A/S
>
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
>
>   


More information about the mapguide-users mailing list