You are not logged in Log in Join
You are here: Home » Members » Stefan's Home » Patches for exUserFolder, ...

Log in
Name

Password

 

Patches

exUserFolder-0.10.9.patch

  • Fixes a bug that can cause XUF to install itself (the __allow_groups__ attribute) all over the place. self = self.this() is not optional!

  • Fixes a problem in std_validate(). There is no reason to fail validation just because no auth was provided.

  • Redefines __len__() to return 1 instead of the number of users(!). The latter proved to be a real performance killer with Zope 2.4.4 and higher due to changes in the getOwner() method - and is questionable anyway.

To apply this patch cd into your Products/exUserFolder directory and run

 wget http://www.zope.org/Members/shh/Patches/exUserFolder-0.10.9.patch

 patch -p0 < exUserFolder-0.10.9.patch

Make sure you do this before creating any exUserFolder object!