Bonjour tout le monde,

je rencontre deux problèmes assez bizzares, mais j'ai l'impression qu'ils sont reliés.

Pbm 1:

J'ai mis en place un portail intégrant un WorkFlow custom (ce dernier marche parfaitement), j'ai donc conçu ce dernier en utilisant le user "manager" pour tester.

Maintenant j'ai donc créé différents utilisateurs (roles: member + roles customs) pour pouvoir segmenter mon workflow (toute les GUARD conditions ont été définies pour les transitions), mais lorsque je me connecte en utilisant l'un d'eux, je ne peut plus accéder à mon Root of workspace, ni à la racine du portail, je me retrouve avec le formulaire de login (alors que je suis effectivement loggué, car je peut accéder aux Sections sans aucun soucis)


Pbm 2:

Afin de faciliter l'utilisation par mes users, j'ai définit des Worklists pour chancun d'eux (et ça marche très bien).

Dans le même état d'esprit j'ai créé des boites à la racines (recherches avec conditions sur le type d'objet et sur le status workflow), c'est à partir de la que je rencontre deux problèmes majeurs (mais certainement du à mon peut de connaissance CPS) :

    si je crée une boite à la racine, sans conditions de status, tout va bien (en étant loggué manager), si maintenant je restreint aux status de mon automate (donc des status custom, entrés dans la ZMI), plus rien ne marche, je reçoit le message d'erreur ci dessous. J'ai l'impression que cela arrive avec certain noms d'état de workflow et pas avec d'autres, j'ai par exemple un état qui s'appelle Created, et pour ce dernier tout marche bien, j'ai un autre etat qui s'apelle Pending_TB_Approbation, et pour ce dernier ça ne marche pas (et la plupart des état ont des noms de ce genre).

J'ai envisagé deux causes possibles :

    1- c'est un coup de bol que ça fonctionne sur Created (j'ai farfouillé dans les différents états de WF, aucun d'autre ne porte ce nom, mais serais-ce un conflit de nom?)
    2- Il existe des normes pour les noms d'état de WF que j'ignore

Je vous remercie tous pour votre aide

Très sincèrement

Error Type: KeyError
Error Value:
'info_None'
Traceback:
Traceback (innermost last):

  •   Module ZPublisher.Publish, line 101, in publish
  • Module ZPublisher.mapply, line 88, in mapply
  • Module ZPublisher.Publish, line 39, in call_object
  • Module Shared.DC.Scripts.Bindings, line 306, in __call__
  • Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
  • Module Products.CMFCore.FSPageTemplate, line 191, in _exec
  • Module Products.CMFCore.FSPageTemplate, line 124, in pt_render
  • Module Products.PageTemplates.PageTemplate, line 96, in pt_render
    <FSPageTemplate at /cps/index_html>
    
  • Module TAL.TALInterpreter, line 190, in __call__
  • Module TAL.TALInterpreter, line 234, in interpret
  • Module TAL.TALInterpreter, line 671, in do_useMacro
  • Module TAL.TALInterpreter, line 234, in interpret
  • Module TAL.TALInterpreter, line 409, in do_optTag_tal
  • Module TAL.TALInterpreter, line 394, in do_optTag
  • Module TAL.TALInterpreter, line 389, in no_tag
  • Module TAL.TALInterpreter, line 234, in interpret
  • Module TAL.TALInterpreter, line 671, in do_useMacro
  • Module TAL.TALInterpreter, line 234, in interpret
  • Module TAL.TALInterpreter, line 409, in do_optTag_tal
  • Module TAL.TALInterpreter, line 394, in do_optTag
  • Module TAL.TALInterpreter, line 389, in no_tag
  • Module TAL.TALInterpreter, line 234, in interpret
  • Module TAL.TALInterpreter, line 637, in do_condition
  • Module TAL.TALInterpreter, line 234, in interpret
  • Module TAL.TALInterpreter, line 694, in do_defineSlot
  • Module TAL.TALInterpreter, line 234, in interpret
  • Module TAL.TALInterpreter, line 409, in do_optTag_tal
  • Module TAL.TALInterpreter, line 394, in do_optTag
  • Module TAL.TALInterpreter, line 389, in no_tag
  • Module TAL.TALInterpreter, line 234, in interpret
  •   Module TAL.TALInterpreter, line 409, in do_optTag_tal
  • Module TAL.TALInterpreter, line 394, in do_optTag
  • Module TAL.TALInterpreter, line 389, in no_tag
  • Module TAL.TALInterpreter, line 234, in interpret
  • Module TAL.TALInterpreter, line 613, in do_loop_tal
  • Module TAL.TALInterpreter, line 234, in interpret
  • Module TAL.TALInterpreter, line 409, in do_optTag_tal
  • Module TAL.TALInterpreter, line 394, in do_optTag
  • Module TAL.TALInterpreter, line 389, in no_tag
  • Module TAL.TALInterpreter, line 234, in interpret
  • Module TAL.TALInterpreter, line 671, in do_useMacro
  • Module TAL.TALInterpreter, line 234, in interpret
  • Module TAL.TALInterpreter, line 637, in do_condition
  • Module TAL.TALInterpreter, line 234, in interpret
  • Module TAL.TALInterpreter, line 409, in do_optTag_tal
  • Module TAL.TALInterpreter, line 394, in do_optTag
  • Module TAL.TALInterpreter, line 389, in no_tag
  • Module TAL.TALInterpreter, line 234, in interpret
  • Module TAL.TALInterpreter, line 671, in do_useMacro
  • Module TAL.TALInterpreter, line 234, in interpret
  • Module TAL.TALInterpreter, line 409, in do_optTag_tal
  • Module TAL.TALInterpreter, line 394, in do_optTag
  • Module TAL.TALInterpreter, line 389, in no_tag
  • Module TAL.TALInterpreter, line 234, in interpret
  • Module TAL.TALInterpreter, line 637, in do_condition
  • Module TAL.TALInterpreter, line 234, in interpret
  • Module TAL.TALInterpreter, line 694, in do_defineSlot
  • Module TAL.TALInterpreter, line 234, in interpret
  • Module TAL.TALInterpreter, line 409, in do_optTag_tal
  • Module TAL.TALInterpreter, line 394, in do_optTag
  • Module TAL.TALInterpreter, line 389, in no_tag
  • Module TAL.TALInterpreter, line 234, in interpret
  • Module TAL.TALInterpreter, line 409, in do_optTag_tal
  • Module TAL.TALInterpreter, line 394, in do_optTag
  • Module TAL.TALInterpreter, line 389, in no_tag
  • Module TAL.TALInterpreter, line 234, in interpret
  • Module TAL.TALInterpreter, line 671, in do_useMacro
  • Module TAL.TALInterpreter, line 234, in interpret
  • Module TAL.TALInterpreter, line 409, in do_optTag_tal
  • Module TAL.TALInterpreter, line 394, in do_optTag
  • Module TAL.TALInterpreter, line 389, in no_tag
  • Module TAL.TALInterpreter, line 234, in interpret
  • Module TAL.TALInterpreter, line 409, in do_optTag_tal
  • Module TAL.TALInterpreter, line 394, in do_optTag
  • Module TAL.TALInterpreter, line 389, in no_tag
  • Module TAL.TALInterpreter, line 234, in interpret
  • Module TAL.TALInterpreter, line 613, in do_loop_tal
  • Module TAL.TALInterpreter, line 234, in interpret
  • Module TAL.TALInterpreter, line 637, in do_condition
  • Module TAL.TALInterpreter, line 234, in interpret
  • Module TAL.TALInterpreter, line 409, in do_optTag_tal
  • Module TAL.TALInterpreter, line 394, in do_optTag
  • Module TAL.TALInterpreter, line 389, in no_tag
  • Module TAL.TALInterpreter, line 234, in interpret
  • Module TAL.TALInterpreter, line 671, in do_useMacro
  • Module TAL.TALInterpreter, line 234, in interpret
  • Module TAL.TALInterpreter, line 409, in do_optTag_tal
  • Module TAL.TALInterpreter, line 394, in do_optTag
  • Module TAL.TALInterpreter, line 389, in no_tag
  • Module TAL.TALInterpreter, line 234, in interpret
  • Module TAL.TALInterpreter, line 409, in do_optTag_tal
  • Module TAL.TALInterpreter, line 394, in do_optTag
  • Module TAL.TALInterpreter, line 389, in no_tag
  • Module TAL.TALInterpreter, line 234, in interpret
  • Module TAL.TALInterpreter, line 637, in do_condition
  • Module TAL.TALInterpreter, line 234, in interpret
  • Module TAL.TALInterpreter, line 613, in do_loop_tal
  • Module TAL.TALInterpreter, line 234, in interpret
  • Module TAL.TALInterpreter, line 657, in do_useMacro
  • Module Products.PageTemplates.TALES, line 221, in evaluate
    Line 259, Column 8
    
    _expression_: <PythonExpr path('here/content_lib/macros/info_%s'%format)>
    
    Names:
    {'container': <CPSDefaultSite instance at b5e1d890>,
     'context': <CPSDefaultSite instance at b5e1d890>,
     'default': <Products.PageTemplates.TALES.Default instance at 0xb70f828c>,
     'here': <CPSDefaultSite instance at b5e1d890>,
     'loop': <SafeMapping instance at b68949d0>,
     'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0xb70f8b2c>,
     'nothing': None,
     'options': {'args': ()},
     'repeat': <SafeMapping instance at b68949d0>,
     'request': <HTTPRequest, URL=""
     'root': <Application instance at b5e1de60>,
     'template': <FSPageTemplate at /cps/index_html>,
     'traverse_subpath': [],
     'user': manager}
    
    
    
    
  • Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
    __traceback_info__: path('here/content_lib/macros/info_%s'%format)
    
  • Module Python _expression_ "path('here/content_lib/macros/info_%s'%format)", line 1, in <_expression_>
  • Module Products.PageTemplates.PythonExpr, line 81, in __call__
  • Module Products.PageTemplates.Expressions, line 201, in __call__
  • Module Products.PageTemplates.Expressions, line 189, in _eval
  • Module Products.PageTemplates.Expressions, line 145, in _eval
    __traceback_info__: here
    
  • Module Products.PageTemplates.Expressions, line 347, in restrictedTraverse
    __traceback_info__: {'path': ['content_lib', 'macros', 'info_None'], 'TraversalRequestNameStack': []}
    
KeyError: 'info_None'



form
cookies

tutorialExamplesURL 'http://localhost:8080/tutorial/examples/lesson10'
tree-s 'eJzT0MgpMOQKVneEAhdLT1t1rgIjrsSSAmMuPQB4WAd6'
__ac 'bWFuYWdlcjpjb3Jld2Fy%0A'
__ac_name 'manager'
_ZopeId '23133936A1q0hAY4SEQ'

lazy items
other

URL0 'http://localhost:8080/cps/index_html'
URL2 'http://localhost:8080'
AcceptCharset <Products.Localizer.Accept.AcceptCharset instance at 0xb592f9ac>
AUTHENTICATION_PATH ''
AUTHENTICATED_USER manager
USER_PREF_LANGUAGES <Products.Localizer.Accept.AcceptLanguage instance at 0xb5d26c4c>
SERVER_URL 'http://localhost:8080'
traverse_subpath []
SESSION id: 11063196011629484673, token: 23133936A1q0hAY4SEQ, contents: []
URL 'http://localhost:8080/cps/index_html'
PUBLISHED <FSPageTemplate at /cps/index_html>
_localizer_placeful_mc_cache {'Localizer/default': <MessageCatalog at /cps/Localizer/default>}
TraversalRequestNameStack []
_ts_domain_cache {'default': <LocalizerDomain at /cps/translation_service/>, 'Default': <LocalizerDomain at /cps/translation_service/>}
BASE0 'http://localhost:8080'
BASE1 'http://localhost:8080'
BASE2 'http://localhost:8080/cps'
BASE3 'http://localhost:8080/cps/index_html'
AcceptLanguage <Products.Localizer.Accept.AcceptLanguage instance at 0xb5d26c4c>
URL1 'http://localhost:8080/cps'
_translation_service_cache <PlacefulTranslationService at /cps/translation_service>
URL0 http://localhost:8080/cps/index_html
URL1 http://localhost:8080/cps
URL2 http://localhost:8080
BASE0 http://localhost:8080
BASE1 http://localhost:8080
BASE2 http://localhost:8080/cps
BASE3 http://localhost:8080/cps/index_html

environ

HTTP_COOKIE 'tree-s="eJzT0MgpMOQKVneEAhdLT1t1rgIjrsSSAmMuPQB4WAd6"; tutorialExamplesURL="http://localhost:8080/tutorial/examples/lesson10"; __ac_name="manager"; __ac="bWFuYWdlcjpjb3Jld2Fy%0A"; tree-s="eJzTyCkw5NLIKTDiClZ3hANXW3WuAmOuRKCECUjWFEnWxdITJGsGljUHyVqgyEaCZC3BsoYGIGlDQyR594BskLyhEVciEIBkjZF1a5eDZU3AsomJegA6pCfD"; _ZopeId="23133936A1q0hAY4SEQ"'
SERVER_SOFTWARE 'Zope/(Zope 2.7.3-0, python 2.3.4, linux2) ZServer/1.1 CPS/3.0'
SCRIPT_NAME ''
REQUEST_METHOD 'GET'
PATH_INFO '/cps/'
SERVER_PROTOCOL 'HTTP/1.1'
channel.creation_time 1106322540
CONNECTION_TYPE 'keep-alive'
HTTP_ACCEPT_CHARSET 'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
HTTP_USER_AGENT 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041125 Firefox/1.0'
HTTP_REFERER 'http://localhost:8080/cps/workspaces/'
SERVER_NAME 'localhost'
REMOTE_ADDR '127.0.0.1'
PATH_TRANSLATED '/cps'
SERVER_PORT '8080'
HTTP_HOST 'localhost:8080'
HTTP_ACCEPT 'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5'
GATEWAY_INTERFACE 'CGI/1.1'
HTTP_ACCEPT_LANGUAGE 'fr,en-us;q=0.7,en;q=0.3'
HTTP_ACCEPT_ENCODING 'gzip,deflate'
HTTP_KEEP_ALIVE '300'

Frédéric Aime ( [EMAIL PROTECTED] )
Directeur Technique / Chief Technical Officer
Arthemys Portail
http://www.arthemys-portail.fr
Gsm: 06.75.84.20.59
_______________________________________________
cps-users-fr 
Adresse de la liste : [email protected]
Gestion de l'abonnement : <http://lists.nuxeo.com/mailman/listinfo/cps-users-fr>

Répondre à