Changing the state of a document
Jose Jiménez López <[email protected]> Fri, 27 Apr 2007 10:26:33 +0200
| Newsgroups | gmane.comp.web.zope.cps.devel |
|---|---|
| Organization | Fundación IAVANTE |
| Message-ID | <1177662393.5820.5.camel@localhost> |
Hello everybody,
I'm trying to change by hand the state of a document of my
portal_catalog.
I have been searching and i found this:
workflow.doActionFor(object, 'new_state')
but it returns an error: *** Unauthorized: You are not allowed to access
'toNone' in this context
Why? there are any other way to change the state of a document?
Thanks.
Jose Jiménez López
Becario de Sistemas
FUNDACIÓN IAVANTE
jose.jimenez-PttKq6FmaWE8QMA/Cy+x5VaTQe2KTcn/@public.gmane.org
Tel. 958 00 22 63
Este correo electrónico y, en su caso, cualquier fichero anexo, contiene
información confidencial exclusivamente dirigida a su(s)
destinatario(s). Toda copia o divulgación deberá ser autorizada por
IAVANTE.
This e-mail and any attachments are confidential and exclusively
directed to its adressee(s). Any copy or distribution will have to be
authorized by IAVANTE.
_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel