I have a question about aliases in the types tool that I'm hoping some can answer pretty easily.

In the management screen, there's a line which says:

For backwards compatibility there is also a '(Default)' method:
    Calls index_html or __call__, depending on the class

For some old type information in a project here, the guess aliases process assigns the alias '(Default)' with the method (Default). This in turn creates an attribute error, as there is no method '(Default)'.

What I want to know is, is this an error (i.e. if the alias (Default) also points to a method (Default), should this just be ignored) or is there some use for this behaviour? I'd like to fix this for my type infomration, but don't want to mask anything clever.



Zope-CMF maillist  -  Zope-CMF@lists.zope.org

See http://collector.zope.org/CMF for bug reports and feature requests

Reply via email to