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