Project

General

Profile

Actions

Bug #86966

closed

pages_language_overlay do not get the appendix from prependAtCopy on copy of a page

Added by Manuel Selbach over 5 years ago. Updated over 4 years ago.

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

0%

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

Description

If a page is translated those records are not respected regarding the appendix from the "prependAtCopy" on the "label field" like it is done for pages during the copy process.

In combination of using e.g. realurl this could lead to serious problems, as it will create the same path for the page as for the original page and thus the original page doesn't get shown as there is a conflict regarding the path.

Current behavior

1. copy a page with some translations on
2. paste it via the page tree

Result:
1. page (default language, table "pages"): title gets the suffix that is written in "prependAtCopy"
2. translated pages (table "pages_language_overlay"): title is the same as on the original page

Expected result

Translated pages should also get the "suffix" written in $GLOBALS['TCA']['pages_language_overlay']['ctrl']['prependAtCopy'] during the copy process.

Actions

Also available in: Atom PDF