Bug #18920
closedCopying elements: Categories are not assigned to copy
0%
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
Updated by Oliver Hader over 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.
Updated by Ernesto Baschny over 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...
Updated by Ernesto Baschny over 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
Updated by Ernesto Baschny over 16 years ago
Commited to TYPO3_4-2 (rev. 3776) and trunk (rev. 3777).