Project

General

Profile

Actions

Bug #54795

closed

EXT:version - Unable to switch versioned tt_content records

Added by Vitoandre D'Oria almost 11 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Workspaces
Target version:
-
Start date:
2014-01-07
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.1
PHP Version:
5.3
Tags:
Complexity:
medium
Is Regression:
No
Sprint Focus:

Description

Full story (no answers)
http://forum.typo3.org/index.php/t/201013/

Short

Prerequisites:
CMS: TYPO3 6.1.7 (vanilla install - not updated from previous versions)
Ext:version installed (default?!)
Ext:workspaces not installed

Problem:

1: Record "#" (tt_content:#) cannot be swapped or published independently, because it is related to other new or modified records.

Reason:
\TYPO3\CMS\Version\DataHandler\CommandMap::applyWorkspacesDependencies()
L:458 $dependentElements = $dependency->getNestedElements($outerMostParent);
$dependentElements returns two entries:
"tt_content:#" (expected result) and ":" (unexpected second key with missing table and uid)
The second key will produce the above Error (reproducible on another 6.1.7 machine) making it impossible to switch any records.

Steps to reproduce:
  1. WEB > List/Page > new tt_content Element
  2. WEB > List > version > new version
  3. WEB > List > version > swap = above error

Background:
We are preparing our extensions from 4.5 to 6.2 for a new project but since it was delayed we start migrating to 6.1 which was suggested by the TYPO3 Team.

Actions

Also available in: Atom PDF