[ZPatterns] PlugIns patch for 2.4.0 to get rid of annoying error message.

Steve Spicklemire [email protected]
Tue, 31 Jul 2001 23:50:24 -0500


Hi Folks,

I've been playing with SteveA's patches and I've noticed that the error 
message about ambiguous method names is getting on my nerves. Anyway, 
here is a patch that I *think* get's rid of those correctly. This is 
against the PlugIns.py from the current TransactionAgents-0.0.1a.tar.gz 
that SteveA just posted (which I understand is straight out of CVS).

-steve

*** PlugIns_orig.py     Tue Jul 31 23:44:41 2001
--- PlugIns.py  Tue Jul 31 23:43:11 2001
***************
*** 351,356 ****
--- 351,358 ----
       manage_main = manage_workspace = \
           DTMLFile('www/PlugInGroup', globals())

+     manage_main._setName('manage_main')
+
       manage_above = manage_below = ''

       def _addPlugIn(self, container, plugin):
***************
*** 453,459 ****

       __ac_permissions__ = (
           ('View management screens',
!             ('manage_first','manage_main','manage_workspace',
                   'manage_above', 'manage_below', 
'manage_refreshPlugIns')
           ),
       )
--- 455,461 ----

       __ac_permissions__ = (
           ('View management screens',
!             ('manage_first','manage_main',
                   'manage_above', 'manage_below', 
'manage_refreshPlugIns')
           ),
       )