grok.Form does not implement IBrowserView

Bug #162437 reported by Christian Zagrodnick on 2007-11-13
2
Affects Status Importance Assigned to Milestone
grok
Undecided
Philipp von Weitershausen
0.10
Undecided
Philipp von Weitershausen
0.11
Undecided
Philipp von Weitershausen
Trunk
Undecided
Philipp von Weitershausen

Bug Description

grok.Form does not implement IBrowserView due to an implementsOnly. This breaks (for instance) a ViewletManager as most people assume a From would be a BrowserView :)

Changed in grok:
assignee: nobody → philipp-weitershausen

I can confirm this:

>>> from zope.publisher.interfaces.browser import IBrowserView
>>> IBrowserView.implementedBy(grok.Form)
False

Proposed fix: Make IGrokView also inherit from IBrowserView (which is what I thought we did implicitly by inheriting from IBrowserPage, but it turns out IBrowserPage doesn't inherit from IBrowserView).

Changed in grok:
status: New → Confirmed

Also affects 0.10.x.

Also affects the trunk.

Fixed on the 0.10 branch in r82097.

Fixed on the 0.11 branch in r82098.

Fixed on the trunk in r82100.

Changed in grok:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers