[Zope] Zope 2.20 and SQLSession
Jorge Magalhaes
jmagalhaes@eng.uminho.pt
Sun, 30 Jul 2000 11:15:05 +0100 (WET)
Hi
Since i upgrade my zope 2.14 to 2.20 i can't access to my all DTML Method's
which use the SQLSESSION session.
I try view these method's with superuser permissions but a have this error message:
Zope Error
Zope has encountered an error while publishing this resource.
Unauthorized
Sorry, a Zope error occurred.
Traceback (innermost last):
File /usr/local/ZopeNovo/Zope/lib/python/ZPublisher/Publish.py, line 222, in publish_module
File /usr/local/ZopeNovo/Zope/lib/python/ZPublisher/Publish.py, line 187, in publish
File /usr/local/ZopeNovo/Zope/lib/python/ZPublisher/Publish.py, line 171, in publish
File /usr/local/ZopeNovo/Zope/lib/python/ZPublisher/mapply.py, line 160, in mapply
(Object: novasessao)
File /usr/local/ZopeNovo/Zope/lib/python/ZPublisher/Publish.py, line 112, in call_object
(Object: novasessao)
File /usr/local/ZopeNovo/Zope/lib/python/OFS/DTMLMethod.py, line 167, in __call__
(Object: novasessao)
File /usr/local/ZopeNovo/Zope/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__
(Object: novasessao)
File /usr/local/ZopeNovo/Zope/lib/python/DocumentTemplate/DT_In.py, line 691, in renderwob
(Object: validar(SENHA=senha))
File /usr/local/ZopeNovo/Zope/lib/python/DocumentTemplate/DT_In.py, line 691, in renderwob
(Object: idprof(SENHA=senha))
File /usr/local/ZopeNovo/Zope/lib/python/DocumentTemplate/DT_Util.py, line 337, in eval
(Object: SESSION.set('idprofessor',profid))
(Info: profid)
File <string>, line 0, in ?
File /usr/local/ZopeNovo/Zope/lib/python/DocumentTemplate/DT_Util.py, line 142, in careful_getattr
File /usr/local/ZopeNovo/Zope/lib/python/OFS/DTMLMethod.py, line 189, in validate
(Object: novasessao)
File /usr/local/ZopeNovo/Zope/lib/python/AccessControl/SecurityManager.py, line 139, in validate
File /usr/local/ZopeNovo/Zope/lib/python/AccessControl/ZopeSecurityPolicy.py, line 159, in validate
Unauthorized: set
In Zope 2.14 all run ok :-)
Jorge