Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUGFIX] Do not translate move pointers in workspace
When a moved content element in a workspace got copied (or the whole page that the content element is put), then the content element is added twice to the target page. This patch skips moved placeholders completely. Resolves: #92388 Releases: master, 10.4 Change-Id: I8c1b4631627eef80b1740c77b63e541d36ab5f53 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/65828 Tested-by: TYPO3com <noreply@typo3.com> Tested-by: Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
- Loading branch information
Showing
6 changed files
with
79 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 48 additions & 0 deletions
48
.../Functional/DataHandling/Regular/Publish/DataSet/changeContentSortingAndCopyDraftPage.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
"pages",,,,,,,,,,,,,, | ||
,"uid","pid","sorting","deleted","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","t3ver_move_id","title",,, | ||
,1,0,256,0,0,0,0,0,0,0,"FunctionalTest",,, | ||
,88,1,256,0,0,0,0,0,0,0,"DataHandlerTest",,, | ||
,89,88,256,0,0,0,0,0,0,0,"Relations",,, | ||
,90,88,512,0,0,0,0,0,0,0,"Target",,, | ||
,91,90,256,0,89,1,1,0,0,0,"Relations",,, | ||
,92,90,256,0,89,1,-1,0,91,0,"Relations",,, | ||
"tt_content",,,,,,,,,,,,,, | ||
,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","l10n_source","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","t3ver_move_id","header" | ||
,296,88,256,0,0,0,0,0,0,0,0,0,0,"Regular Element #0" | ||
,297,89,640,0,0,0,0,297,0,0,0,0,0,"Regular Element #1" | ||
,298,89,512,0,0,0,0,0,0,0,0,0,0,"Regular Element #2" | ||
,299,89,768,0,0,0,0,0,0,0,0,0,0,"Regular Element #3" | ||
,300,89,1024,0,1,299,299,299,0,0,0,0,0,"[Translate to Dansk:] Regular Element #3" | ||
,301,89,384,0,1,297,297,297,0,0,0,0,0,"[Translate to Dansk:] Regular Element #1" | ||
,302,89,448,0,2,297,301,301,0,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #1" | ||
,310,90,256,0,0,0,0,0,0,0,0,0,0,"Regular Element #10" | ||
,311,90,512,0,1,0,310,310,0,0,0,0,0,"[Translate to Dansk:] Regular Element #10" | ||
,312,90,768,0,2,0,311,311,0,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #10" | ||
,320,89,512,0,0,0,0,298,2,2,0,298,0,"Regular Element #2" | ||
,323,89,384,0,1,321,297,301,1,4,0,301,0,"[Translate to Dansk:] Regular Element #1" | ||
,324,89,576,0,1,297,0,0,1,3,0,0,301,"[MOVE-TO PLACEHOLDER for #301, WS#1]" | ||
,325,89,448,0,2,321,301,302,1,4,0,302,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #1" | ||
,326,89,544,0,2,297,0,0,1,3,0,0,302,"[MOVE-TO PLACEHOLDER for #302, WS#1]" | ||
,327,91,256,0,0,0,0,299,1,1,0,0,0,"Regular Element #3" | ||
# @todo: Sorting is not correct here: should be Element 2 then Element 1 then Element 3 | ||
,328,91,256,0,0,0,0,299,1,-1,0,327,0,"Regular Element #3" | ||
,329,91,128,0,1,327,327,300,1,1,0,0,0,"[Translate to Dansk:] Regular Element #3" | ||
,330,91,128,0,1,327,327,300,1,-1,0,329,0,"[Translate to Dansk:] Regular Element #3" | ||
,331,91,64,0,0,0,0,298,1,1,0,0,0,"Regular Element #2" | ||
,332,91,64,0,0,0,0,298,1,-1,0,331,0,"Regular Element #2" | ||
,333,91,32,0,0,0,0,297,1,1,0,0,0,"Regular Element #1" | ||
,334,91,32,0,0,0,0,297,1,-1,0,333,0,"Regular Element #1" | ||
,335,91,16,0,1,333,333,301,1,1,0,0,0,"[Translate to Dansk:] Regular Element #1" | ||
,336,91,16,0,1,333,333,301,1,-1,0,335,0,"[Translate to Dansk:] Regular Element #1" | ||
,337,91,8,0,2,333,335,302,1,1,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #1" | ||
,338,91,8,0,2,333,335,302,1,-1,0,337,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #1" | ||
"sys_refindex",,,,,,,,,,,,,, | ||
,"hash","tablename","recuid","field","sorting","deleted","workspace","ref_table","ref_uid",,,,, | ||
,"25426f92d44dd2ccf416108462b446e3","sys_workspace",1,"custom_stages",0,0,0,"sys_workspace_stage",1,,,,, | ||
,"01a3ce8c4e3b2bb1aa439dc29081f996","sys_workspace_stage",1,"responsible_persons",0,0,0,"be_users",3,,,,, | ||
,"1b70a8e25c22645f7a49a79f57f3cf3f","sys_category",31,"parent",0,0,0,"sys_category",28,,,,, | ||
,"cd92ab3ab5798dc139f98107e7c28cb7","tt_content",323,"l18n_parent",0,0,1,"tt_content",321,,,,, | ||
,"1c8013278ae997181374e3c76322e114","tt_content",325,"l18n_parent",0,0,1,"tt_content",321,,,,, | ||
,"893ed65ba064539a74c6c86b2dd3a9ed","tt_content",330,"l18n_parent",0,0,1,"tt_content",327,,,,, | ||
,"7d48ba6e36389495b8eb362a9f8f8d78","tt_content",336,"l18n_parent",0,0,1,"tt_content",333,,,,, | ||
,"3f864e649c25f88940bd245f6895b5cf","tt_content",338,"l18n_parent",0,0,1,"tt_content",333,,,,, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters