#28039: BaseGeometryWidget.subwidgets() crashes with KeyError 'widget'
---------------------------------+------------------------------------
     Reporter:  Dariusz Paluch   |                    Owner:  nobody
         Type:  Bug              |                   Status:  new
    Component:  GIS              |                  Version:  1.11
     Severity:  Release blocker  |               Resolution:
     Keywords:                   |             Triage Stage:  Accepted
    Has patch:  1                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+------------------------------------
Changes (by Tim Graham):

 * has_patch:  0 => 1


Old description:

> BaseGeometryWidget get_context doesn't execute super().get_context(self,
> name, value, attrs) so key 'widget' used by method subwidgets doesn't
> exists.

New description:

 `BaseGeometryWidget.get_context()` doesn't execute
 `super().get_context(self, name, value, attrs)` so key `'widget'` used by
 method `subwidgets()` doesn't exist.

--

Comment:

 Dariusz, could you your application with this
 [https://github.com/django/django/pull/8343 PR]. I'm not certain that it's
 correct.

--
Ticket URL: <https://code.djangoproject.com/ticket/28039#comment:4>
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/064.4719cc6668700e2ccbcbaf2f763e4c4c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to