Bonjour,

Pour permettre aux membres d'un portail d'acceder au MailHost (lors d'une
creation de document) sans etre manager, j'essaie de créer un tool lequel
sera appelé par le wfscript.
Le script d'installation du site déclenche l'erreur suivante :

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.ExternalMethod.ExternalMethod, line 225, in __call__
      __traceback_info__: ((<CPSDefaultSite at /IntranetCirus>,), {}, None)
    * Module
C:\Zope-Instance\Products\IntranetCirus\Extensions\install.py, line
320, in install
    * Module
C:\Zope-Instance\Products\IntranetCirus\Extensions\install.py, line
314, in installSendMailAsManager
    * Module Products.CPSInstaller.CMFInstaller, line 174, in getTool
    * Module Products.CMFCore.utils, line 82, in getToolByName

AttributeError: Mon_tool

Apres des recherches, dans "Module Products.CMFCore.utils, line 82, in
getToolByName", l'erreur vient apparemment de la condition
"if tool is _marker
  raise AttributeError, name"

Je souhaitais savoir si getTool était la bonne méthode pour ma démarche,
et ce quelle était la fonction du _marker ?

Vous remerciant par avance.

Cordialement
Grégory François.


This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you.
_______________________________________________
cps-users-fr 
Adresse de la liste : [email protected]
Gestion de l'abonnement : <http://lists.nuxeo.com/mailman/listinfo/cps-users-fr>

Répondre à