grok.Form does not implement IBrowserView
Bug #162437 reported by
Christian Zagrodnick
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grok |
Fix Released
|
Undecided
|
Philipp von Weitershausen | ||
0.10 |
Fix Released
|
Undecided
|
Philipp von Weitershausen | ||
0.11 |
Fix Released
|
Undecided
|
Philipp von Weitershausen | ||
Trunk |
Fix Released
|
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 |
Changed in grok: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I can confirm this:
>>> from zope.publisher. interfaces. browser import IBrowserView implementedBy( grok.Form)
>>> IBrowserView.
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).