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


_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
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 )

Reply via email to