[Checkins] SVN: Products.GenericSetup/trunk/Products/GenericSetup/ Tickle _p_changed in a place where it'll always work

Wichert Akkerman wichert at wiggy.net
Wed Jan 9 15:58:10 EST 2008


Log message for revision 82774:
  Tickle _p_changed in a place where it'll always work

Changed:
  U   Products.GenericSetup/trunk/Products/GenericSetup/registry.py
  U   Products.GenericSetup/trunk/Products/GenericSetup/tool.py

-=-
Modified: Products.GenericSetup/trunk/Products/GenericSetup/registry.py
===================================================================
--- Products.GenericSetup/trunk/Products/GenericSetup/registry.py	2008-01-09 16:09:50 UTC (rev 82773)
+++ Products.GenericSetup/trunk/Products/GenericSetup/registry.py	2008-01-09 20:58:09 UTC (rev 82774)
@@ -300,7 +300,6 @@
     security.declarePrivate( 'unregisterStep' )
     def unregisterStep( self, id ):
         del self._registered[id]
-        self.aq_parent._p_changed = True
 
     security.declarePrivate( 'clear' )
     def clear( self ):

Modified: Products.GenericSetup/trunk/Products/GenericSetup/tool.py
===================================================================
--- Products.GenericSetup/trunk/Products/GenericSetup/tool.py	2008-01-09 16:09:50 UTC (rev 82773)
+++ Products.GenericSetup/trunk/Products/GenericSetup/tool.py	2008-01-09 20:58:09 UTC (rev 82774)
@@ -841,6 +841,7 @@
             request = self.REQUEST
         for id in ids:
             self._import_registry.unregisterStep(id)
+        self._p_changed=True
         url = self.absolute_url()
         request.RESPONSE.redirect("%s/manage_stepRegistry" % url)
 
@@ -850,6 +851,7 @@
             request = self.REQUEST
         for id in ids:
             self._export_registry.unregisterStep(id)
+        self._p_changed=True
         url = self.absolute_url()
         request.RESPONSE.redirect("%s/manage_stepRegistry" % url)
 



More information about the Checkins mailing list