[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/container/browser/adding.py Converted XXX to TODO.

Stephan Richter srichter at cosmos.phy.tufts.edu
Fri Jul 9 11:45:53 EDT 2004


Log message for revision 26323:

Converted XXX to TODO.




-=-
Modified: Zope3/trunk/src/zope/app/container/browser/adding.py
===================================================================
--- Zope3/trunk/src/zope/app/container/browser/adding.py	2004-07-09 15:45:50 UTC (rev 26322)
+++ Zope3/trunk/src/zope/app/container/browser/adding.py	2004-07-09 15:45:53 UTC (rev 26323)
@@ -134,10 +134,11 @@
         if not self.contentName:
             self.contentName = id
 
-        # XXX: If the factory wrapped by LocationProxy is already a Proxy,
-        #      then ProxyFactory does not the right thing and the original's
-        #      checker info gets lost. No factory that was registered via ZCML
-        #      and was used via addMenuItem worked here. (SR)
+        # TODO: If the factory wrapped by LocationProxy is already a Proxy,
+        #       then ProxyFactory does not do the right thing and the
+        #       original's checker info gets lost. No factory that was
+        #       registered via ZCML and was used via addMenuItem worked
+        #       here. (SR)
         factory = zapi.getUtility(IFactory, type_name)
         if not type(factory) is zope.security.checker.Proxy:
             factory = LocationProxy(factory, self, type_name)



More information about the Zope3-Checkins mailing list