[Zope] Folder "user" ------ it is a BUG?????

Chris McDonough chrism@zope.com
27 Jun 2002 10:56:30 -0400


You are indeed right, this is a bug.  It happens because the
editUser.dtml file references the name "user" without qualification, and
finds the "user" folder in the root before it finds the "user" argument
passed in as a keyword.  I'm trying to figure out how to fix it now.

Thanks!

- C


On Thu, 2002-06-27 at 10:29, Maik Jablonski wrote:
> hi,
> 
> I think it is a bug.
> 
> - Create a folder with ID=user in your Root.
> - go to acl_users and click on a user. Then you get a name-error.
> 
> Traceback below, 
> 
> greetings maik.
> 
> On Thu, 2002-06-27 at 16:16, Chris McDonough wrote:
> > I'm afraid I don't understand, can you try again?
> > 
> > ----- Original Message -----
> > From: "Daniel Schmitz" <dpsgd@yahoo.com.br>
> > To: <zope@zope.org>
> > Sent: Thursday, June 27, 2002 9:26 AM
> > Subject: [Zope] Folder "user" ------ it is a BUG?????
> > 
> > 
> > > Hi All
> > >
> > > i create a folder "user" in RootFolder, but when i
> > > acces acl_users and i click in any user.... the zope
> > > return with error.
> > >
> > > this is a bug, ok?
> > >
> 
> Zope has encountered an error while publishing this resource.
> 
> Error Type: AttributeError
> Error Value: name
> 
> Troubleshooting Suggestions
> 
>     * The URL may be incorrect.
>     * The parameters passed to this resource may be incorrect.
>     * A resource that this resource relies on may be encountering an
> error.
> 
> For more detailed information about the error, please refer to the HTML
> source for this page.
> 
> If the error persists please contact the site maintainer. Thank you for
> your patience.
> 
> Powered by Zope
> 
> Traceback (innermost last):
>   File /home/zope/lib/python/ZPublisher/Publish.py, line 150, in
> publish_module
>   File /home/zope/lib/python/ZPublisher/Publish.py, line 114, in publish
>   File /home/zope/lib/python/Zope/__init__.py, line 159, in
> zpublisher_exception_hook
>     (Object: acl_users)
>   File /home/zope/lib/python/ZPublisher/Publish.py, line 98, in publish
>   File /home/zope/lib/python/ZPublisher/mapply.py, line 88, in mapply
>     (Object: manage_users)
>   File /home/zope/lib/python/ZPublisher/Publish.py, line 39, in
> call_object
>     (Object: manage_users)
>   File /home/zope/lib/python/AccessControl/User.py, line 926, in
> manage_users
>     (Object: acl_users)
>   File /home/zope/lib/python/Shared/DC/Scripts/Bindings.py, line 252, in
> __call__
>     (Object: _editUser)
>   File /home/zope/lib/python/Shared/DC/Scripts/Bindings.py, line 283, in
> _bindAndExec
>     (Object: _editUser)
>   File /home/zope/lib/python/App/special_dtml.py, line 172, in _exec
>     (Object: _editUser)
>   File /home/zope/lib/python/DocumentTemplate/DT_Util.py, line 159, in
> eval
>     (Object: user.name)
>     (Info: user)
>   File <string>, line 0, in ?
> AttributeError: (see above)
> 
> -- 
> Maik Jablonski                 __o
> www.zfl.uni-bielefeld.de     _ \<_    Deutsche Zope User Group  
> Bielefeld, Germany          (_)/(_)               www.dzug.org
> 
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )