Sorry (I use Gmail and the default reply is pushed) When I try to execute BorrarFuncionalidad this error is raised: Traceback (innermost last): Module ZPublisher.Publish, line 106, in publish Module ZPublisher.BaseRequest, line 323, in traverse Module Products.Yanged.Yanged, line 61, in __bobo_traverse__ Module Products.Yanged.Yanged, line 134, in __call__ Module Products.Yanged.Yanged, line 164, in Ejecutar Module Products.Yanged.Yanged, line 118, in __call__ Module Products.Yanged.Yanged, line 164, in Ejecutar Module Shared.DC.Scripts.Bindings, line 311, in __call__ Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec Module Products.PythonScripts.PythonScript, line 325, in _exec Module None, line 2, in Borrar - <PythonScript at /sistes.net/clientes/escobarsl.com/Comandos/BorrarFuncionalidad used for /sistes.net/clientes/escobarsl.com/Pagina/Borrar/BorrarCaso> - Line 2 Unauthorized: You are not allowed to access 'manage_delObjects' in this context And nothing is deleted. But the next I try is CrearFuncionalidad and the object is created but this error appears on the error log: Traceback (innermost last): Module ZPublisher.Publish, line 115, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 41, in call_object Module Products.Yanged.Yanged, line 101, in index_html Module Products.Yanged.Yanged, line 134, in __call__ Module Products.Yanged.Yanged, line 164, in Ejecutar Module Products.Yanged.Yanged, line 134, in __call__ Module Products.Yanged.Yanged, line 164, in Ejecutar Module Products.Yanged.Yanged, line 134, in __call__ Module Products.Yanged.Yanged, line 164, in Ejecutar Module Products.Yanged.Yanged, line 118, in __call__ Module Products.Yanged.Yanged, line 164, in Ejecutar Module Shared.DC.Scripts.Bindings, line 311, in __call__ Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec Module Products.PythonScripts.PythonScript, line 325, in _exec Module None, line 4, in CrearFuncionalidad - <PythonScript at /sistes.net/clientes/escobarsl.com/Comandos/CrearFuncionalidad used for /sistes.net/clientes/escobarsl.com/Pagina/Editar/SiNoHayErrores/SiNoHayCaso/CrearCaso> - Line 4 Unauthorized: You are not allowed to access 'CrearYanged' in this context But THE OBJECT IS CREATED! Weird isn't it? 2007/3/8, Jonathan <dev101@magma.ca>:
----- Original Message ----- From: "Garito" <garito@gmail.com> To: "Jonathan" <dev101@magma.ca> Sent: Thursday, March 08, 2007 11:05 AM Subject: Re: [Zope] I don't understand why fail
Hi Jonathan! CrearFuncionalidad and BorrarFuncionalidad has the same security permissions (acquired from parent) I don't change anything at this point
The question I can't understand is when BorrarFuncionalidad ask for a login and password I put my user that is manager and owner but the login don't work (it ask again and again)
Both scripts has the same parent and the same security permissions
It seems like if zope (or someone else) lost the logged user but I don't understand when or who
Please stay on the list.
Have a look at the full traceback in the error_log (ZMI root folder - you may have to remove the 'Unauthorized' entry from the 'Ignored exception types' field), it may provide some more information.
Jonathan
-- Mis Cosas: http://blogs.sistes.net/Garito