[Zope-dev] zope.app.authentication broken!

Roger Ineichen dev at projekt01.ch
Tue Jul 8 11:41:15 EDT 2008


hi

I'm pretty sure the container changes are not compatible because of
some bad __init__ methods in inherited classes in other packages.

But that's not the fault of the refactoring that is correct 
as far as I can see.

zope.app.authentication.groupfolder.py

class GroupFolder(BTreeContainer):

    ....

    def __init__(self, prefix=u''):
        self.prefix=prefix
        super(BTreeContainer,self).__init__()
        ^^^^^^^^^^^^^^^^^^^^


The *super(BTreeContainer,self).__init__()* will
not initialize the right thing here. right?

What was the reason of calling:
super(BTreeContainer,self).__init__()
instead of:
super(GroupFolder, self).__init__()

btw, did someone run the tests with all packages that depend
on zope.app.container?

Regards
Roger Ineichen
_____________________________
END OF MESSAGE



More information about the Zope-Dev mailing list