Hi!

 

I’ve created a new document type which has a Directory Multientries widget. The problem is that when I create a new document of this type and try to assign a value to this widget I get the error below. It happens the same with CPS 3.3.5 using Zope 2.8, and with CPS 3.3.4 using Zope 2.7.

Does anyone have idea of what could cause this error?

 

Thanks

 

Error Type:        AttributeError

Error Value:      'NoneType' object has no attribute 'uid'

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 188, in _exec

  Module Products.CMFCore.FSPageTemplate, line 127, in pt_render

  Module Products.PageTemplates.PageTemplate, line 96, in pt_render

   - <FSPageTemplate at /cpsSistemas/popup_directorymultientries_form used for /cpsSistemas/workspaces>

  Module TAL.TALInterpreter, line 190, in __call__

  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 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 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 263, in do_startEndTag

  Module TAL.TALInterpreter, line 291, in do_startTag

  Module TAL.TALInterpreter, line 357, in attrAction_tal

  Module Products.PageTemplates.TALES, line 227, in evaluateText

  Module Products.PageTemplates.TALES, line 221, in evaluate

   - URL: file:CPSNavigation/skins/cpsnavigation_default/navigation_lib_multi_select_navigation.pt

   - Line 95, Column 6

   - _expression_: standard:'item/uid'

   - Names:

      {'container': <CPSDefaultSite instance at b3372b60>,

       'context': <ProxyFolder at /cpsSistemas/workspaces>,

       'default': <Products.PageTemplates.TALES.Default instance at 0xb755d66c>,

       'here': <ProxyFolder at /cpsSistemas/workspaces>,

       'loop': <SafeMapping instance at b4710860>,

       'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0xb755d12c>,

       'nothing': None,

       'options': {'args': ()},

       'repeat': <SafeMapping instance at b4710860>,

       'request': <HTTPRequest, URL="">

       'root': <Application instance at b44d88c0>,

       'template': <FSPageTemplate at /cpsSistemas/popup_directorymultientries_form used for /cpsSistemas/workspaces>,

       'traverse_subpath': [],

       'user': usr1}

  Module Products.PageTemplates.Expressions, line 172, in __call__

  Module Products.PageTemplates.Expressions, line 160, in _eval

  Module Products.PageTemplates.Expressions, line 116, in _eval

   - __traceback_info__: item

  Module Products.PageTemplates.Expressions, line 332, in restrictedTraverse

   - __traceback_info__: {'path': ['uid'], 'TraversalRequestNameStack': []}

AttributeError: 'NoneType' object has no attribute 'uid'

JoseLuis de la Rosa Triviño
Becario Área de Sistemas de Información
FUNDACIÓN IAVANTE
[EMAIL PROTECTED]
Tel. 951 015 300

 

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-users mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/cps-users

Reply via email to