[ZCM] [ZC] 202/ 2 Comment "sequence.sort in ZPT causes Zope to restart"

Collector: Zope Bugs and Patches ... zope-coders@zope.org
Tue, 12 Feb 2002 04:56:24 -0500


Issue #202 Update (Comment) "sequence.sort in ZPT causes Zope to restart"
 Status Pending, Zope/bug critical
To followup, visit:
  http://collector.zope.org/Zope/202

==============================================================
= Comment - Entry #2 by hg_zen on Feb 12, 2002 4:56 am

running Zope with only one thread helps, but still restarts after a few refreshes.  If contentValues contains Folders and/or Files, Zope restarts.
________________________________________
= Request - Entry #1 by hg_zen on Feb 7, 2002 5:15 pm

The following code in local_html on a CMF site causes Zope to restart when viewed via index_html:

<span tal:define="raw_items python: sequence.sort(here.contentValues(filter={'Type':( 'File' , 'Link') } ),(( 'Title', 'nocase', ), ), );
items python: auth_filter( raw_items, skip='' );">

It works fine if I directly view local_html.
==============================================================