Skip to content

Zope startup warnings for ZMI names manage_main vs. manage #3

@seanupton

Description

@seanupton

At startup:

WARNING Init Ambiguous name for method of Products.DateRecurringIndex.index.DateRecurringIndex: 'manage_main' != 'manage'

Why do we need to declare the name manage? Will the ZMI automatically take care of this for us?

See:

https://mail.zope.org/pipermail/zpt/2001-October/002232.html
(Solution for DTML, not for ZPT)

https://mail.zope.org/pipermail/zpt/2001-October/002232.html

Of course, just repeating ourselves and declaring manage and manage_main separately suppresses the warnings, as does setting manage_main.need__name_ = 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions