Project

General

Profile

Actions

Bug #87041

closed

CType in TCA[ctrl][label] leads to strange behavior

Added by Manuel Selbach almost 6 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2018-11-29
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

It has turned out, that if you use CType as label for the copy process will be "broken".
If this is the case, the text in prependAtCopy will be used and appended to the CType, which then is a none registered CType.

Steps to reproduce:

  • change the label for tt_content to CType
  • flush caches
  • create an element
  • copy and paste it within the same language

result:

  • have a look at DataHandler in line 3509 the method getCopyHeader() will be called for field CType

e.g.
CType = text
prependAtCopy = (copy %s)

after getCopyHeader() has been called this will result in: text (copy 1)

This also applies to 8.7 LTS

PS: If you have e.g. EXT:content_defender in place, this will prevent you even from pasting the element.


Files

ctype-copy-1.png (12.4 KB) ctype-copy-1.png Manuel Selbach, 2018-11-29 16:15
Actions

Also available in: Atom PDF