Olá, zopistas!

Alguém que usa o produto ContentPanel no Plone 2.1.2?

Na versão do Plone 2.0.5 eu utilizava o ContentPanel 1.7 e este me
permitia a inserção de um contentPanel dentro do painel de outro
contentPanel. Isso era só o filé!

Agora no Plone 2.1.2 com o ContentPanels 2.3, quando se insere um novo
painel, ele ainda permite que você escolha um outro objeto do mesmo
tipo, mas quando se clica em Content Related > ContentPanels
utilizados ele dá um erro:

---------
Tipo de Erro: TypeError
Valor do Erro: list indices must be integers
---------
Com o seguinte traceback:
code:
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 195, in _exec
  Module Products.CMFCore.FSPageTemplate, line 134, in pt_render
  Module Products.PageTemplates.PageTemplate, line 96, in pt_render
   - <FSPageTemplate at /Plone/cp_new_panel_form used for
/Plone/cagece-online>
  Module TAL.TALInterpreter, line 190, in __call__
  Module TAL.TALInterpreter, line 234, in interpret
  Module TAL.TALInterpreter, line 650, in do_defineMacro
  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 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 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 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 407, in do_optTag_tal
  Module TAL.TALInterpreter, line 389, in no_tag
  Module TAL.TALInterpreter, line 234, in interpret
  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:CMFContentPanels/skins/contentpanels/contentpanels_macros.pt
   - Line 26, Column 6
   - _expression_: <PythonExpr here.getPageInfo(pageIndex, 'pageCellPad')>
   - Names:
      {'container': <PloneSite instance at 038D66B0>,
       'context': <ContentPanels at /Plone/cagece-online>,
       'default': <Products.PageTemplates.TALES.Default instance at
0x00FAFAF8>,
       'here': <ContentPanels at /Plone/cagece-online>,
       'loop': <SafeMapping instance at 03CCA8D0>,
       'modules':
<Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at
0x00FB5E90>,
       'nothing': None,
       'options': {'args': ()},
       'repeat': <SafeMapping instance at 03CCA8D0>,
       'request': <HTTPRequest,
URL="" href="http://localhost/cagece-online/cp_new_panel_form">http://localhost/cagece-online/cp_new_panel_form>,
       'root': <Application instance at 038D6020>,
       'template': <FSPageTemplate at /Plone/cp_new_panel_form used
for /Plone/cagece-online>,
       'traverse_subpath':[code],
       'user': admin}
  Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
   - __traceback_info__: here.getPageInfo(pageIndex, 'pageCellPad')
  Module Python _expression_ "here.getPageInfo(pageIndex,
'pageCellPad')", line 1, in <_expression_>
  Module Products.CMFContentPanels.ContentPanels, line 319, in getPageInfo
TypeError: list indices must be integers

-----------------------
Alguém poderia me dizer se pra isto existe solução? 





Para enviar uma mensagem: zope-pt@yahoogrupos.com.br
Para desistir envie uma mensagem em branco para: [EMAIL PROTECTED]



Yahoo! Grupos, um serviço oferecido por:
PUBLICIDADE


Links do Yahoo! Grupos

Responder a