zillo32 / vosao

Automatically exported from code.google.com/p/vosao
GNU Lesser General Public License v2.1
0 stars 0 forks source link

nested for each causes pages to diappear #563

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Create page at top level A
2. Create child page under A called B
3. Create child page under A called C
3. Create child page under C called D
4. Create child page under C called E

Thus the page structure will look as follows:

A
-> B
-> C
---->D
---->E

Now, on page A use velocity to create a for each loop to display content of 
each child, in this case this would be content of pages B and C.

In page C content, create a velocity for each loop do display content for each 
child, in this case this should be content for pages D and E. 

What is the expected output? What do you see instead?

Thus when displaying A, you should see content for all pages in the tree. 
However, what actually happens is that the page C content and children don't 
show up at all. Further, there is no way to restoring page C, other than 
deleting it and re-creating it from scratch again.

Original issue reported on code.google.com by mac...@mbven.com on 30 Mar 2012 at 4:58