#53768Displaying the same 'Insert Records'-element more than once does not work
Description
I have reproduced this bug in both 4.5 as well as in 6.2 beta with the following snippet:
page = PAGE
page {
10 = CONTENT
10 {
table=tt_content
select {
pidInList = 2
}
wrap = |<hr>
}
20 < .10
}
On the page with the id 2 I put two content elements. One is a ‘Text’-element with the header “TEXT”, the other is an ‘Insert Records’-element pointing to some other element on a different page with the header “RECORD”.
In the frontend, it will look like this:
TEXT RECORD ---------- TEXT ----------
The second time, the ‘Insert Records’-element is gone.
My expected behavior was that both CONTENT-elements would yield the same output.
This issue might be related to http://forge.typo3.org/issues/20541 and http://forge.typo3.org/issues/28745 , however, those issues talk about nested CONTENT elements while my issue is just displaying the same ‘Insert-Records’-element twice.