User:Cocjh1/Nested Repeats

From TestWiki
Jump to: navigation, search

Demo page to highlight problem with nested repeat statements.

UPDATE: This has now been fixed - this page describes the original issue but the actual and expected result should now match. The page has been retained in order to act as a test-case against future regressions. --HappyDog 15:45, 7 August 2014 (UTC)

The main repeat statemenet which gives the error:

<repeat table="cocjh1-table" criteria="name=Chris">{{User:Cocjh1/Nested Repeats/Display Person|name={{{name}}}|dob={{{dob}}}}}</repeat>

Which gives:

Name=Chris
DOB=01/01/1970
Chris
Terry
Fred
Robert

Expect to get:

Name=Chris
DOB=01/01/1970
Chris
Terry
Fred
Robert



The data definitions:

Template used: