[zope2-tracker] [Bug 712752] [NEW] Zope crashes on editing or saving PageTemplate

Robert Casties 712752 at bugs.launchpad.net
Thu Feb 3 16:00:32 EST 2011

Public bug reported:

When I try to view the following PageTemplate in the ZMI editor the whole Zope process crashes (without any message).
The template in question uses recursive METAL calls. The template renders fine even though viewing in ZMI crashes Zope. Viewing in ZMI worked fine at least in Zope 2.10.

<html metal:define-macro="page">
    <!-- navigation -->
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr> <!-- subnavigation -->
	<td class="subnav" valign="top" width="180">
	  <tal:block metal:define-slot="nav" tal:define="lvl python:2"> <!-- nav slot -->
	    <tal:block metal:define-macro="submenuelem">
	      <tal:block tal:repeat="item python:here.navElements(lvl)">
		<tal:block tal:condition="python:here.isSelectedPath(item) and lvl < 10">
		  <tal:block tal:define="lvl python:lvl+1">
		    <div metal:use-macro="here/main_template/macros/submenuelem"/>
	  </tal:block> <!-- /nav slot -->
	</td> <!-- /subnav -->

** Affects: zope2
     Importance: Undecided
         Status: New

You received this bug notification because you are a member of Zope 2
Developers, which is subscribed to Zope 2.

  Zope crashes on editing or saving PageTemplate

More information about the zope2-tracker mailing list