Project

General

Profile

Actions

Bug #20176

closed

error while copying localized content in draft workspace

Added by Andreas Allenberg about 15 years ago. Updated over 10 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
Workspaces
Target version:
-
Start date:
2009-03-13
Due date:
% Done:

0%

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

Description

There is an error in the core function (e.g. copyRecord). If I copy localized content in live workspace using clipboard 2 the copying is successfull, if I copy the same content within draft workspace, the basic content including INITIAL PLACEHOLDER is copied fine, but the copied localized content belongs to the original content and not to the copied content. There is an incorrect value in the field l18n_parent (points to the original content and not not the copied content). You can see the problem in the attached screenshots. You can see the backend and a view of the tt_content table.

no TV
only default workspaces live and draft
only one page
two languages, one-tree-concept

Extensions:
htmlArea RTE 1.7.9
Versioning Management 1.2.0
CSS styled content 0.4.0
TYPO3 skin 4.2.0
(issue imported from #M10682)


Files

backend.gif (21 KB) backend.gif Administrator Admin, 2009-03-13 11:11
tt_content.gif (10.6 KB) tt_content.gif Administrator Admin, 2009-03-13 11:12
backend-with-ids.gif (81 KB) backend-with-ids.gif Administrator Admin, 2009-03-13 11:19
backend_ok.gif (21 KB) backend_ok.gif Administrator Admin, 2009-03-13 11:22
tt_content_ok.gif (10.3 KB) tt_content_ok.gif Administrator Admin, 2009-03-13 11:23
copyrecord.log (2.3 KB) copyrecord.log Administrator Admin, 2009-03-13 11:36
Actions #1

Updated by Andreas Allenberg about 15 years ago

if I edit the content with incorrect l18n_parent, change nothing and click save, the incorrect value is overwritten with the correct value. Now the view in the backend is fine also. So typo3 has the right code while storing content. Now the code of copying content has to be changed.
I traced function copyRecord_procBasedOnFieldType but I cant see the values. (see logfile)

I think if is possible to fix this error the more complicated errors will be fixed automaticly. So there is an error while moving localized content in draft workspace. It seems as missing content, but the content has only the incorrect value in l18n_parent. if I modify the value in the database to the correct value then it is possible to see the content in the backend.

Actions #2

Updated by Peter Niederlag almost 15 years ago

This happens if you have two records on clipboardd 2, the one with default lang plus the one localized ?

Actions #3

Updated by Tolleiv Nietsch almost 13 years ago

  • Status changed from Needs Feedback to Rejected
  • Target version deleted (0)

No feedback for ages - feel free to reopen once you're able to answer Peter's question

Actions #4

Updated by Michael Stucki over 10 years ago

  • Category set to Workspaces
Actions #5

Updated by Michael Stucki over 10 years ago

  • Project changed from 624 to TYPO3 Core
  • Category changed from Workspaces to Workspaces
Actions

Also available in: Atom PDF