De plus, nous venons de comprendre que cette anomalie est dûe à un problème dans la redirection via Apache, j'en saurais plus plus tard.
Cordialement,
Matthieu FOURMY
2006/2/22, Julien Anguenot <[EMAIL PROTECTED]>:
Matthieu Fourmy wrote:
> En renommant le fichier CollectorDocument_editProp.pt en
> CollectorDocument_editPro.pt et en modifiant les appels, ça fonctionne...
>
> Quelqu'un peux t'il me donner qqs axes de recherche, je ne vois pas du
> tout le lien avec l'erreur rencontrée
Il doit y avoir un bug. Est-ce que tu peux le rentrer dans le track stp
? (http://svn.nuxeo.org/)
Merci.
J.
> Merci
> Matthieu FOURMY
>
> 2006/2/21, Matthieu Fourmy < [EMAIL PROTECTED]
> <mailto: [EMAIL PROTECTED]>>:
>
> Bonjour,
>
> Je suis sur un site CPS 3.2.3 avec authentification NTLM et LDAP.
> J'ai une anomalie avec le produit CPSCollector.
>
> La modification des propriétés du formulaire est impossible
> (CollectorDocument_editProp.pt) que ce soit après une création ou
> via l'action 'Modifier les prorpiétés' (voir même lorsque j'appelle
> ce fichier directement). L'erreur se produit donc ici.
> Ce que je ne saisis pas, c'est que les autres actions du produit ne
> posent pas de problème.
>
> Il semble que lorsque j'appelle ce document, je passe en anonyme, ce
> qui fait que je n'ai plus les droits pour les actions suivantes
> (comme le getContentInfo). Je n'arrive pas à comprendre pourquoi je
> passe en anonyme. Il y a peut être une erreur qui se produit et qui
> provoque cette situation, mais je ne trouve rien.
> Quelqu'un peut-il m'aider ?
>
> Merci
>
> extrait du event.log :
> ------
> 2006-02-21T16:29:40 DEBUG(-200) listObjectActions Called for wf
> workspace_content_wf
> ------
> 2006-02-21T16:29:40 DEBUG(-200) listObjectActions Checking copy_submit
> ------
> 2006-02-21T16:29:40 DEBUG(-200) listObjectActions Guard failed
> ------
> 2006-02-21T16:29:40 DEBUG(-200) listObjectActions Checking
> checkout_draft
> ------
> 2006-02-21T16:29:40 DEBUG(-200) listObjectActions Guard failed
> ------
> 2006-02-21T16:29:40 DEBUG(-200) listObjectActions Checking
> cut_copy_paste
> ------
> 2006-02-21T16:29:40 DEBUG(-200) listObjectActions No user-visible
> action
> ------
> 2006-02-21T16:29:40 BLATHER(-100) VerboseSecurity Unauthorized: Your
> user account does not have the required permission. Access to
> 'Description' of (CollectorDocument at
> /CG60/portal_repository/1081607439__0001) denied. Your user account,
> Anonymous User, exists at /acl_users. Access requires
> View_Permission, granted to the following roles: ['Manager',
> 'permission:View']. Your roles in this context are ['Anonymous'].
> ------
> 2006-02-21T16:29:41 DEBUG(-200) listObjectActions Called for wf
> workspace_content_wf
> ------
> 2006-02-21T16:29:41 DEBUG(-200) listObjectActions Checking copy_submit
> ------
> 2006-02-21T16:29:41 DEBUG(-200) listObjectActions Guard failed
> ------
> 2006-02-21T16:29:41 DEBUG(-200) listObjectActions Checking
> checkout_draft
> ------
> 2006-02-21T16:29:41 DEBUG(-200) listObjectActions Guard failed
> ------
> 2006-02-21T16:29:41 DEBUG(-200) listObjectActions Checking
> cut_copy_paste
> ------
> 2006-02-21T16:29:41 DEBUG(-200) listObjectActions No user-visible
> action
> ------
> 2006-02-21T16:29:41 BLATHER(-100) VerboseSecurity Unauthorized: Your
> user account does not have the required permission. Access to
> 'Description' of (CollectorDocument at
> /CG60/portal_repository/1081607439__0001) denied. Your user account,
> Anonymous User, exists at /acl_users. Access requires
> View_Permission, granted to the following roles: ['Manager',
> 'permission:View']. Your roles in this context are ['Anonymous'].
> ------
> 2006-02-21T16:29:41 BLATHER(-100) OFS Exception while rendering an
> error message
> Traceback (most recent call last):
> File
> "/usr/CPSSites/CG60Intranet/Zope_V2_Complete/lib/python/OFS/SimpleItem.py",
> line 204, in raise_standardErrorMessage
> v = s(**kwargs)
> File
> "/usr/CPSSites/CG60Intranet/Zope_V2_Complete/lib/python/Shared/DC/Scripts/Bindings.py",
> line 306, in __call__
> return self._bindAndExec(args, kw, None)
> File
> "/usr/CPSSites/CG60Intranet/Zope_V2_Complete/lib/python/Shared/DC/Scripts/Bindings.py",
> line 343, in _bindAndExec
> return self._exec(bound_data, args, kw)
> File
> "/usr/CPSSites/CG60Intranet/Zope_V2_Complete/Products/CMFCore/FSPageTemplate.py",
> line 191, in _exec
> result = self.pt_render(extra_context=bound_names)
> File
> "/usr/CPSSites/CG60Intranet/Zope_V2_Complete/Products/CMFCore/FSPageTemplate.py",
> line 124, in pt_render
> result = FSPageTemplate.inheritedAttribute('pt_render')(
> File
> "/usr/CPSSites/CG60Intranet/Zope_V2_Complete/Products/PTProfiler/ProfilerPatch.py",
> line 69, in __patched_render__
> ret = self._patching_class._org_method(self, source, extra_context)
> File
> "/usr/CPSSites/CG60Intranet/Zope_V2_Complete/lib/python/Products/PageTemplates/PageTemplate.py",
> line 96, in pt_render
> tal=not source, strictinsert=0)()
> File
> "/usr/CPSSites/CG60Intranet/Zope_V2_Complete/lib/python/TAL/TALInterpreter.py",
> line 190, in __call__
> self.interpret(self.program)
> File
> "/usr/CPSSites/CG60Intranet/Zope_V2_Complete/lib/python/TAL/TALInterpreter.py",
> line 234, in interpret
> handlers[opcode](self, args)
> File
> "/usr/CPSSites/CG60Intranet/Zope_V2_Complete/lib/python/TAL/TALInterpreter.py",
> line 409, in do_optTag_tal
> self.do_optTag(stuff)
> File
> "/usr/CPSSites/CG60Intranet/Zope_V2_Complete/lib/python/TAL/TALInterpreter.py",
> line 394, in do_optTag
> return self.no_tag(start, program)
> File
> "/usr/CPSSites/CG60Intranet/Zope_V2_Complete/lib/python/TAL/TALInterpreter.py",
> line 389, in no_tag
> self.interpret(program)
> File
> "/usr/CPSSites/CG60Intranet/Zope_V2_Complete/lib/python/TAL/TALInterpreter.py",
> line 234, in interpret
> handlers[opcode](self, args)
> File
> "/usr/CPSSites/CG60Intranet/Zope_V2_Complete/lib/python/TAL/TALInterpreter.py",
> line 671, in do_useMacro
> self.interpret(macro)
> File
> "/usr/CPSSites/CG60Intranet/Zope_V2_Complete/lib/python/TAL/TALInterpreter.py",
> line 234, in interpret
> handlers[opcode](self, args)
> File
> "/usr/CPSSites/CG60Intranet/Zope_V2_Complete/lib/python/TAL/TALInterpreter.py",
> line 409, in do_optTag_tal
> self.do_optTag(stuff)
> File
> "/usr/CPSSites/CG60Intranet/Zope_V2_Complete/lib/python/TAL/TALInterpreter.py",
> line 394, in do_optTag
> return self.no_tag (start, program)
> File
> "/usr/CPSSites/CG60Intranet/Zope_V2_Complete/lib/python/TAL/TALInterpreter.py",
> line 389, in no_tag
> self.interpret(program)
> File
> "/usr/CPSSites/CG60Intranet/Zope_V2_Complete/lib/python/TAL/TALInterpreter.py",
> line 234, in interpret
> handlers[opcode](self, args)
> File
> "/usr/CPSSites/CG60Intranet/Zope_V2_Complete/lib/python/TAL/TALInterpreter.py",
> line 637, in do_condition
> self.interpret(block)
> File
> "/usr/CPSSites/CG60Intranet/Zope_V2_Complete/lib/python/TAL/TALInterpreter.py",
> line 234, in interpret
> handlers[opcode](self, args)
> File
> "/usr/CPSSites/CG60Intranet/Zope_V2_Complete/lib/python/TAL/TALInterpreter.py",
> line 671, in do_useMacro
> self.interpret (macro)
> File
> "/usr/CPSSites/CG60Intranet/Zope_V2_Complete/lib/python/TAL/TALInterpreter.py",
> line 234, in interpret
> handlers[opcode](self, args)
> File
> "/usr/CPSSites/CG60Intranet/Zope_V2_Complete/lib/python/TAL/TALInterpreter.py",
> line 409, in do_optTag_tal
> self.do_optTag(stuff)
> File
> "/usr/CPSSites/CG60Intranet/Zope_V2_Complete/lib/python/TAL/TALInterpreter.py",
> line 394, in do_optTag
> return self.no_tag(start, program)
> File
> "/usr/CPSSites/CG60Intranet/Zope_V2_Complete/lib/python/TAL/TALInterpreter.py",
> line 389, in no_tag
> self.interpret(program)
> File
> "/usr/CPSSites/CG60Intranet/Zope_V2_Complete/lib/python/TAL/TALInterpreter.py",
> line 234, in interpret
> handlers[opcode](self, args)
> File
> "/usr/CPSSites/CG60Intranet/Zope_V2_Complete/lib/python/TAL/TALInterpreter.py",
> line 460, in do_setLocal_tal
> self.engine.setLocal(name, self.engine.evaluateValue (expr))
> File
> "/usr/CPSSites/CG60Intranet/Zope_V2_Complete/lib/python/Products/PageTemplates/TALES.py",
> line 221, in evaluate
> return _expression_(self)
> File
> "/usr/CPSSites/CG60Intranet/Zope_V2_Complete/Products/PTProfiler/ProfilerPatch.py",
> line 28, in __patched_call__
> ret = self._patching_class._org_method(self, econtext)
> File
> "/usr/CPSSites/CG60Intranet/Zope_V2_Complete/lib/python/Products/PageTemplates/ZRPythonExpr.py",
> line 47, in __call__
> return eval(code, g, {})
> File "Python _expression_ "(here_url !=
> utool.getPortalObject().absolute_url()) and
> here.getContentInfo(doc=doc, level=2) or None"", line 1, in
> <_expression_>
> File
> "/usr/CPSSites/CG60Intranet/Zope_V2_Complete/Products/CMFCore/FSPythonScript.py",
> line 104, in __call__
> return Script.__call__(self, *args, **kw)
> File
> "/usr/CPSSites/CG60Intranet/Zope_V2_Complete/lib/python/Shared/DC/Scripts/Bindings.py",
> line 306, in __call__
> return self._bindAndExec(args, kw, None)
> File
> "/usr/CPSSites/CG60Intranet/Zope_V2_Complete/lib/python/Shared/DC/Scripts/Bindings.py",
> line 343, in _bindAndExec
> return self._exec(bound_data, args, kw)
> File
> "/usr/CPSSites/CG60Intranet/Zope_V2_Complete/Products/CMFCore/FSPythonScript.py",
> line 160, in _exec
> result = apply(f, args, kw)
> File "Script (Python)", line 181, in getContentInfo
> File
> "/usr/CPSSites/CG60Intranet/Zope_V2_Complete/Products/VerboseSecurity/VerboseSecurityPolicy.py",
> line 273, in validate
> raise Unauthorized(info)
> Unauthorized: Your user account does not have the required
> permission. Access to 'Description' of (CollectorDocument at
> /CG60/portal_repository/1081607439__0001) denied. Your user account,
> Anonymous User, exists at /acl_users. Access requires
> View_Permission, granted to the following roles: ['Manager',
> 'permission:View']. Your roles in this context are ['Anonymous'].
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> cps-users-fr
> Adresse de la liste : [email protected]
> Gestion de l'abonnement : <http://lists.nuxeo.com/mailman/listinfo/cps-users-fr >
--
Julien Anguenot | Nuxeo R&D (Paris, France)
CPS Platform : http://www.cps-project.org
Zope3 / ECM : http://www.z3lab.org
mail: anguenot at nuxeo.com; tel: +33 (0) 6 72 57 57 66
_______________________________________________ cps-users-fr Adresse de la liste : [email protected] Gestion de l'abonnement : <http://lists.nuxeo.com/mailman/listinfo/cps-users-fr>
