[CPS-devel] CPS renders itself recursively after customizing main_template.

JoseLuis de la Rosa Triviño joseluis.rosa at iavantefundacion.com
Mon Apr 10 12:50:16 CEST 2006


 

Hello, 

 

In a new cps site (v. 3.4.0), I go to ZMI-> portal_skins and search for main_template.

Then click "cpsskins_cps3/main_template", "Customize" and "Save Changes" without modifying any code.

 

After that, trying to visit http://localhost:8080/cps/sections makes cps to render itself recursively inside the content well portlet.

 

Has anybody had the same behaviour?

 

I noticed of this because in my cps site I got this error after doing the same steps as I explained above. 

 

Thank you very much.

 

###########################################

Site Error

 

An error was encountered while publishing this resource.

 

RuntimeError

Sorry, a site error occurred.

 

Traceback (innermost last):

 

    * Module ZPublisher.Publish, line 188, in publish_module_standard

    * Module Products.Localizer, line 60, in new_publish

    * Module ZPublisher.Publish, line 145, in publish

    * Module Products.PDBDebugMode.PDBExceptionHook, line 42, in pdb_exception_hook

[...]

[...]

[...]

    * Module TAL.TALInterpreter, line 442, in do_optTag

    * Module TAL.TALInterpreter, line 437, in no_tag

    * Module TAL.TALInterpreter, line 281, in interpret

    * Module TAL.TALInterpreter, line 691, in do_loop_tal

    * Module TAL.TALInterpreter, line 281, in interpret

    * Module TAL.TALInterpreter, line 457, in do_optTag_tal

    * Module TAL.TALInterpreter, line 442, in do_optTag

    * Module TAL.TALInterpreter, line 437, in no_tag

    * Module TAL.TALInterpreter, line 281, in interpret

    * Module TAL.TALInterpreter, line 507, in do_setLocal_tal

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

      URL: file:CPSSkins/skins/CPSSkins/cpsskins_main_template_tableless.pt

      Line 41, Column 16

      Expression: <PythonExpr isRenderable and content.render_cache(shield=shield, context_obj=context_obj, enable_esi=enable_esi, boxedit=boxedit, template=template, options=options)>

      Names:

 

      {'container': <CPSDefaultSite at /bpi_des>,

       'context': <CPSDefaultSite at /bpi_des>,

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

       'here': <CPSDefaultSite at /bpi_des>,

       'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xb29c7a2c>,

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

       'nothing': None,

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

       'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0xb29c7a2c>,

       'request': <HTTPRequest, URL=http://10.207.248.60:4000/bpi_des/index_html>,

       'root': <Application at >,

       'template': <FSPageTemplate at /bpi_des/index_html>}

 

    * Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__

      __traceback_info__: isRenderable and content.render_cache(shield=shield, context_obj=context_obj, enable_esi=enable_esi, boxedit=boxedit, template=template, options=options)

    * Module Python expression "isRenderable and content.render_cache(shield=shield, context_obj=context_obj, enable_esi=enable_esi, boxedit=boxedit, template=template, options=options)", line 1, in <expression>

    * Module Products.CPSSkins.PortalBoxGroup, line 313, in render_cache

    * Module Products.CPSSkins.PortalBoxGroup, line 258, in render

    * Module Products.CPSPortlets.CPSPortlet, line 487, in render_cache

    * Module Products.CPSDocument.CPSDocument, line 68, in render

    * Module Products.CPSDocument.FlexibleTypeInformation, line 752, in renderObject

    * Module Products.CPSDocument.FlexibleTypeInformation, line 714, in _renderLayouts

    * Module Products.CPSSchemas.Layout, line 391, in renderLayoutStructure

    * Module Products.CPSSchemas.BasicWidgets, line 2038, in render

    * Module Products.CPSPortlets.PortletWidgets.MainContentWidget, line 27, in renderMainContent

 

RuntimeError: maximum recursion depth exceeded (Also, the following error occurred while attempting to render the standard error message, please see the event log for full details: maximum recursion depth exceeded in cmp)

 

 

Thank you very much.

JoseLuis de la Rosa Triviño 
Becario Área de Sistemas de Información 
FUNDACIÓN IAVANTE 
joseluis.rosa at iavantefundacion.com 
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.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nuxeo.com/pipermail/cps-devel/attachments/20060410/a6c06d31/attachment.htm


More information about the cps-devel mailing list
More information about CPS: CPS project - CVS - API

Hosting: Nuxeo: Zope service provider


This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.