You are not logged in Log in Join
You are here: Home » Members » Tres Seaver's Zope.org Site » Various Projects » HighlyAvailableZope » IndentingDTMLSpinsZope » wikipage_view

Log in
Name

Password

 
 
FrontPage » TwistingInTheWindProblems »

IndentingDTMLSpinsZope

Evan - This is a symptom of SpinningDecapitation, and there is a patch there to fix the problem.

Jason Spisak reports, and Chris McDonough? confirms, the following WeirdZopeTrick?.

This is weird. The following code flips Zope out until you kill the thread that picked up the request:

  <dtml-in "_.range(0, 105, 5)">
    <option value="<dtml-var "_.float(_['sequence-item'])/100">">
     <dtml-var "_.float(_['sequence-item'])">%
    </option>
  </dtml-in>

But this code renders fine swear to God:

  <dtml-in "_.range(0, 105, 5)">
  <option value="<dtml-var "_.float(_['sequence-item'])/100">">
    <dtml-var "_.float(_['sequence-item'])">%
  </option>
  </dtml-in>

*Notice the &lt;option&gt; tags flush left.*

Please tell me someone can reproduce this. My base ZClass? subclasses nothing. I experience the hang with both the ZClass? management and viewing below and instance.