Project

General

Profile

Actions

Bug #18920

closed

Copying elements: Categories are not assigned to copy

Added by Matthias Glatt almost 16 years ago. Updated over 15 years ago.

Status:
Closed
Priority:
Must have
Category:
-
Target version:
-
Start date:
2008-06-07
Due date:
% Done:

0%

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

Description

After installing the patch for bug #18857 the following problem occurred:
When copying an element (e.g. News element of tt_news), the times are copied correctly, the categories assigned to the element however are not copied. Looks like this problem occurs with all elements with mm-relations to other database tables.
Before installing the patch categories were copied correctly.

Reproduction:
1. Using the tt_news extension, create a News element.
2. Assign some categories to the News element.
3. in the Web->List module copy the News element to the clipboard.
4. Paste the copied News element to some place.
5. The pasted (new) News element has no categories assigned.

(issue imported from #M8635)


Files

bug-8635-buggyTCE-on-copy.diff (1.22 KB) bug-8635-buggyTCE-on-copy.diff Administrator Admin, 2008-06-09 10:36

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #18857: Datetime bug because of different local timeClosedErnesto Baschny2008-05-26

Actions
Actions #1

Updated by Oliver Hader almost 16 years ago

Please test this issue again with the complete pre-released TYPO3 4.2.1-RC1 from http://translation.typo3.org/temp_packages/4.2.1rc1/ and give some feedback when you still experience the problem then.

Actions #2

Updated by Ernesto Baschny almost 16 years ago

My first tests show that this is not related to the mentioned patch.

In 4.2.1-dev, when copying a tt_news record with categories, I get:

"102: These fields are not properly updated in database: (category) Probably value mismatch with fieldtype."

The record is copied, but the categories are not.

If I remove the 8522 patch, the problem still occurrs. I will investigate this further...

Actions #3

Updated by Ernesto Baschny almost 16 years ago

Bug is confirmed and is in fact related to the timezone-shift patch. See attached fix, if this solves both issues. Also in core list

Actions #4

Updated by Ernesto Baschny almost 16 years ago

Commited to TYPO3_4-2 (rev. 3776) and trunk (rev. 3777).

Actions

Also available in: Atom PDF