[ZWeb] Problems with /acl_users

Paul Everitt paul@digicool.com
Tue, 26 Sep 2000 07:50:28 -0700


Hmmm, I know Shane was playing around with some ideas, but I'm pretty
sure he wasn't working on the real Zope.org.  Shane?

--Paul

Martijn Pieters wrote:
> 
> I can't list all the usernames in /acl_users anymore:
> 
> Error type:  AttributeError
> Error value: 'BTreeItems' object has no attribute 'sort'
> 
> Traceback (innermost last):
>   (Snipped to relevancy)
>   File /usr/local/dc/Zope2/lib/python/AccessControl/User.py, line 681, in user_names
>     (Object: RoleManager)
>   File /usr/local/dc/Zope2/lib/python/AccessControl/User.py, line 729, in getUserNames
>     (Object: RoleManager)
> AttributeError: (see above)
> 
> It seems that someone changed the BTree implementation used in the user
> folders. I tried to change the domains field for a certain user, and
> because the return action of that method shows you all users, I can't do
> it through the web.
> 
> If I use the Monitor to do it, and try and commit the changes, Zope hangs.
> get_transaction().commit() never returns.
> 
> --
> Martijn Pieters
> | Software Engineer  mailto:mj@digicool.com
> | Digital Creations  http://www.digicool.com/
> | Creators of Zope   http://www.zope.org/
> ---------------------------------------------
> 
> _______________________________________________
> Zope-web maillist  -  Zope-web@zope.org
> http://lists.zope.org/mailman/listinfo/zope-web