[Zope] Change Password (third post) Help

Daniel G. Rusch drusch@globalcrossing.com
Tue, 20 Mar 2001 17:30:03 -0600


Sorry for taking so long to get back to this, but in an effort to solve
the problem I upgraded, which turned out to be a disaster. 

So I am back to where I started:
Zope Version  	Zope 2.3.1b1 (binary release, python
1.5.2,solaris-2.6-sparc) 
Python Version  1.5.2 (#8, Nov 16 1999, 10:05:41) [GCC 2.8.1] 
System Platform sunos5

Once again here's the problem: (This did not happen on the older version
of Zope)

1. a user changes goes to the change password page enters the new
password (and confirm etc) and submits 
2. The password is changed and the user is redirected to a page the
informs them of this.

3. The user has the option to click ok or click on any of several hyper
links.

No matter what the user clicks on, instead of getting a password dialog
box like they should they get the error below.

the property BoxName is a root level property and is there.
         

Any thoughts.

Dan

  Zope Error

  Zope has encountered an error while publishing this resource. 

  NameError

  Sorry, a Zope error occurred.

  Traceback (innermost last):
    File
/home/Zope-2.3.0-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py,
line 222, in publish_module
    File
/home/Zope-2.3.0-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py,
line 187, in publish
    File /home/Zope-2.3.0-solaris-2.6-sparc/lib/python/Zope/__init__.py,
line 221, in zpublisher_exception_hook
      (Object: Traversable)
    File
/home/Zope-2.3.0-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py,
line 171, in publish
    File
/home/Zope-2.3.0-solaris-2.6-sparc/lib/python/ZPublisher/mapply.py, line
160, in mapply
      (Object: index_html)
    File
/home/Zope-2.3.0-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py,
line 112, in call_object
      (Object: index_html)
    File
/home/Zope-2.3.0-solaris-2.6-sparc/lib/python/OFS/DTMLDocument.py, line
189, in __call__
      (Object: index_html)
    File
/home/Zope-2.3.0-solaris-2.6-sparc/lib/python/DocumentTemplate/DT_String.py,
line 538, in __call__
      (Object: index_html)
    File
/home/Zope-2.3.0-solaris-2.6-sparc/lib/python/OFS/DTMLMethod.py, line
182, in __call__
      (Object: standard_html_header)
    File
/home/Zope-2.3.0-solaris-2.6-sparc/lib/python/DocumentTemplate/DT_String.py,
line 538, in __call__
      (Object: standard_html_header)
    File
/home/Zope-2.3.0-solaris-2.6-sparc/lib/python/DocumentTemplate/DT_Util.py,
line 334, in eval
      (Object: BoxName=='devo')
      (Info: BoxName)
    File <string>, line 0, in ?
  NameError: BoxName

Martijn Pieters wrote:
> 
> On Fri, Mar 16, 2001 at 01:50:43PM -0700, Casey Duncan wrote:
> > Daniel Rusch wrote:
> > >
> > > Then are they navigating to
> > > > something that can be viewed anonymously or to a secured page?
> > >
> > > to a secured page
> > >
> >
> > So, as I'm sure you know, after changing passwords, the user looses
> > Authentication (assuming you are using the built in Zope machinery,
> > which from all appearances you are) because the browser continues to
> > send the old password.
> >
> > This is then a rather odd point of failure. What should happen is the
> > browser should make the user log in again. Is this happening or no?
> 
> The browser will ask for a password again on the next request, if Basic
> Auth is used. Try this on your own ZOpe server; change the password of the
> User object you use to log in and then click on any link you previously
> had access to; a password box will pop up.
> 
> --
> Martijn Pieters
> | Software Engineer  mailto:mj@digicool.com
> | Digital Creations  http://www.digicool.com/
> | Creators of Zope   http://www.zope.org/
> ---------------------------------------------