[z3-five] Editform does not sending ObjectModifiedEvent
Andrey Plotnikov
aplot at sbit.krasnoyarsk.su
Tue Mar 22 05:13:26 MET 2005
I tried to use events system for catalog supporting and
have collided with a following problem: the editform does not sending
ObjectModifiedEvent
During debugging I found the problem essential. The following patch to
file Five.browser.py
describe it:
--- /home/aplot/downloads/zope/Five/browser.py Fri Mar 11 05:50:43 2005
+++ browser.py Tue Mar 22 09:56:54 2005
@@ -162,7 +162,9 @@
self._setUpWidgets()
def _setUpWidgets(self):
- adapted = self.schema(self.context)
+## adapted = self.schema(self.context)
+ adapted = self.context
+ assert(adapted is self.context)
if adapted is not self.context:
if not ILocation.providedBy(adapted):
adapted = LocationProxy(adapted)
This is beyond my scope of zope knowledge.
My system: Python 2.3.4, Zope 2.7.4, Five 0.3
--
Andrey Plotnikov
More information about the z3-five
mailing list