Hello,

I found a weird bug (I think) in 0.6 RC1. It appears that the behavior 
of the Radius tags differ depending on the filter.

I have the following content structure:
/Home Page (published)
     /Stukken (published)
          /1999 (published)
              /Beauty Queen of Leenane (published)
          /2000 (published)
              /Een draad in het donker (published)
          /2001 (published)
              /Roberto Zucco (published)
          /2002 (draft)
          /2003 (draft)
          /2004 (draft)
          /2005 (draft)
          /2006 (draft)
          /2007 (published)
              /Adel Blank (published)
              /Festen (published)

Some might recognize plays here, and you would be right :)

In the default layout there is the following:
<r:content part="sidebar" inherit="true" />

In Home Page I have the part 'sidebar', filter: Textile (currently this 
is the only page which this part):
<r:find url="/stukken/"><r:content part="menu"/></r:find>

In Stukken I have the part 'menu', filter: None:
<r:children:each order="desc">
  <div class="MenuBlokTitel"><r:link/></div>
  <div class="MenuBlok">
    <r:children:each order="desc">
      <r:if_content part="menu"><r:content part="menu"/></r:if_content>
    </r:children:each>
  </div>
</r:children:each>

All of the published plays have a 'menu' part, filter: none.

When I request the home page what I expect is:
     <div class="MenuBlokTitel"><a href="/stukken/2007/">2007</a></div>
     <div class="MenuBlok">
        Menu content for Festen.
        Menu content for Adel Blank.
     </div>
     <div class="MenuBlokTitel"><a href="/stukken/2001/">2001</a></div>
     <div class="MenuBlok">
        Menu content for Roberto Zucco.
     </div>
     <div class="MenuBlokTitel"><a href="/stukken/2000/">2000</a></div>
     <div class="MenuBlok">
        Menu content for Een draad in het donker.
     </div>
     <div class="MenuBlokTitel"><a href="/stukken/1999/">1999</a></div>
     <div class="MenuBlok">
        Menu content for Beauty Queen of Leenane.
     </div>

However, I got the following:
<p><div class="MenuBlokTitel"><a href="/stukken/2007/">2007</a></div>
  <div class="MenuBlok">
        Menu content for Festen.
        Menu content for Adel Blank.
        Menu content for Roberto Zucco.
        Menu content for Een draad in het donker.
        Menu content for Beauty Queen of Leenane.</p>
</div>
Also note the weird <p> placements.

When you change the filter of 'Home Page' part 'sidebar' to None, I get 
the expected results.

Shall I add this to Trac?

Regards,
     Erik.


-- 
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/

_______________________________________________
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to