Bug #62699
openPage contains the same id multiple times when inserting the same Content Element with Insert Records more often
0%
Description
Using Insert Records (IR) multiple times on the same page and each IR-CE insert the same content, the id (which comprises of c + content.uid) is rendered multiple times on the page.
This allows a user to invalidate the generated HTML code.
Updated by Helmut Hummel over 9 years ago
- Category changed from Frontend to Content Rendering
What is your expectation? How should the rendered result be?
Updated by Markus Klein over 9 years ago
The rendered result should be prefixed.
Example:
InsertRecords content element uid = 1
Inserted content element uid = 34
Expected HTML <div id="c1c34" ...
Updated by Riccardo De Contardi almost 9 years ago
It is still present in 6.2.13:
my test:
in page I add a new content element, type "Insert record"(ID=52) and inside I put a CE from another page (CE has ID=3)
result:
<div id="c52" class="csc-default"> <div id="c3" class="csc-default"> ... ... ... </div> </div>
In the same page, I add anoher "Insert record" CE (ID=53), with inside the same CE (ID=3)
result:
<div id="c53" class="csc-default"> <div id="c3" class="csc-default"> ... ... ... </div> </div>
Updated by Markus Klein over 8 years ago
- Status changed from New to Accepted
- Assignee changed from Patrick Broens to Markus Klein
- Priority changed from Should have to Must have
- Target version set to 8 LTS
- Complexity set to hard
Updated by Benni Mack almost 7 years ago
- Target version changed from 8 LTS to Candidate for patchlevel
Updated by Susanne Moog over 6 years ago
- Category changed from Content Rendering to Frontend
Updated by Daniel Kary over 4 years ago
Still in 9.5.8 with Fluid. Possible Solution could be to add a variable if record is inserted. This way we clould add an prefix to the id if it is inside an shortcut.
Updated by Markus Klein over 4 years ago
This is not fluid related. The core does not provide the necessary information about the nesting.