Project

General

Profile

Actions

Bug #62699

open

Page contains the same id multiple times when inserting the same Content Element with Insert Records more often

Added by Markus Klein about 10 years ago. Updated over 5 years ago.

Status:
Accepted
Priority:
Must have
Assignee:
-
Category:
Frontend
Start date:
2014-11-04
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
hard
Is Regression:
No
Sprint Focus:

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.


Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Feature #40255: Simplify the creation of referenced content elementsAcceptedJo Hasenau2012-08-27

Actions
Actions #1

Updated by Helmut Hummel about 10 years ago

  • Category changed from Frontend to Content Rendering

What is your expectation? How should the rendered result be?

Actions #2

Updated by Markus Klein about 10 years ago

The rendered result should be prefixed.

Example:
InsertRecords content element uid = 1
Inserted content element uid = 34

Expected HTML <div id="c1c34" ...

Actions #3

Updated by Riccardo De Contardi over 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>

Actions #4

Updated by Markus Klein about 9 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
Actions #5

Updated by Benni Mack over 7 years ago

  • Target version changed from 8 LTS to Candidate for patchlevel
Actions #6

Updated by Markus Klein about 7 years ago

  • Assignee deleted (Markus Klein)
Actions #7

Updated by Susanne Moog about 7 years ago

  • Category changed from Content Rendering to Frontend
Actions #8

Updated by Daniel Kary over 5 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.

Actions #9

Updated by Markus Klein over 5 years ago

This is not fluid related. The core does not provide the necessary information about the nesting.

Actions

Also available in: Atom PDF