#26972: is_collection definition broken in OLMapWidget.js
--------------------------------------+-------------------------
               Reporter:  claudep     |          Owner:  claudep
                   Type:  Bug         |         Status:  new
              Component:  GIS         |        Version:  master
               Severity:  Normal      |       Keywords:
           Triage Stage:  Unreviewed  |      Has patch:  0
    Needs documentation:  0           |    Needs tests:  0
Patch needs improvement:  0           |  Easy pickings:  0
                  UI/UX:  0           |
--------------------------------------+-------------------------
 The `instanceof OpenLayers.Geometry.Collection` test in `OLMapWidget.js`
 to determine if a geometry type is a collection or not is not valid. The
 `Polygon` and `LineString` for example inherits from `Collection`, but are
 not collections for what matters in the widget.
 I'd like to backport a fix in 1.10 at least, as the widget is badly broken
 for some geometries.

 Reported in https://groups.google.com/forum/#!topic/geodjango/6dTcb9IokBU

--
Ticket URL: <https://code.djangoproject.com/ticket/26972>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/050.51ea7756ea5b7e8a380a405bcedd0486%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to