[OpenLayers-Dev] ArcGISCache: Bypassing functions in .lods

David Zwarg dzwarg+ol at azavea.com
Tue Aug 23 16:07:37 EDT 2011


I ran into something interesting today when I discovered that functions
(from the prototypes) of Arrays get parsed into the tileInfo.lods array.
This can happen when an external js framework adds ".remove" or ".indexOf"
to the Array prototype, and said framework is used to parse the json
response from the ArcGIS server.

I created ticket #3474 <http://trac.osgeo.org/openlayers/ticket/3474> to
address this issue, patch attached to the ticket. Please review at your
earliest convenience.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20110823/12a27adb/attachment.html

More information about the Dev mailing list