[Zope-dev] Re: PROBLEM(100) Init Ambiguous name
Shane Hathaway
shane@digicool.com
Fri, 27 Jul 2001 11:46:28 -0400
On Friday 27 July 2001 11:20, Chris Withers wrote:
> Hi Shane,
>
> I'm seeing this with Squishdot on Zope 2.4.0:
> > 2001-07-24T16:42:28 PROBLEM(100) Init Ambiguous name for method of
> > Products.Squi
> > shdot.Posting.Posting: "manage_editForm" != "manage_main"
>
> I saw you answer a question about this with another product, and I was
> wondering what you recommend I do to fix the problem.
>
> The offending line looks line in Posting.py looks like:
>
> manage_main = manage_editForm
Either manage_main or manage_editForm is protected by a permission,
right? Whichever it is, that's the "official" name for the method.
Assuming it's "manage_editForm", you would add a line like this below the
line you quoted:
manage_editForm._setName("manage_editForm")
That way there's no ambiguity.
Shane