[OpenLayers-Dev] Request review Patch for Ticket #3650

lore.pini at tin.it lore.pini at tin.it
Tue Apr 24 12:15:59 EDT 2012


Hi all,
I re-discovered a bug with wms layers, as in http://comments.gmane.org/gmane.comp.gis.openlayers.user/16912 .

To reproduce:
new OpenLayers.Layer.WMS(
                       "A name",
                        "An URL",
                        {
                            layers: "layer_name",
                            format: 'image/png'
                        },
                        {
                           id:"some_id"
                        }
                    );

Specifing the 'id' causes an error in later layer.event handling, because layer.event is not initialized.
I think it's a typo (brace in wrong place)

I opened a ticket and sent a patch, can someone please review?

 http://trac.osgeo.org/openlayers/ticket/3650

Thank you in advance
Gnafu
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20120424/acf5a792/attachment.html


More information about the Dev mailing list