Project

General

Profile

Actions

Bug #20239

closed

Copying Datasets with related data start- and endtime is recalculated

Added by Mischa Heissmann over 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2009-03-26
Due date:
% Done:

0%

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

Description

Szenery:

I've got a dataset (A) with related data (A.1, A.2 ...) both combined with IRRE. A.1 has got a start- and endtime.
When copying dataset A for creating a new, similar dataset (B), all related data is copied as well (as it should be) but the start- and endtime is recaltulated.

e.g. starttime in A.1 is 1240610400 (which is 25th April 2009 - 00:00). After copying starttime in B.1 is now 7200 less (1240603200 wich is 24th April 2009 - 22:00). This seems to me, that while copying localtime is recalculated to UTC.

This error could be reproduced in 4.3.0 alpha 2, 4.2.6 on local servers and external servers.
(issue imported from #M10782)


Files

10782_TYPO3_trunk.patch (2.3 KB) 10782_TYPO3_trunk.patch Administrator Admin, 2009-06-24 10:40
T3X_user_bug10782-0_0_0-z-200906241536.t3x (8.9 KB) T3X_user_bug10782-0_0_0-z-200906241536.t3x Administrator Admin, 2009-06-24 15:42
Actions #1

Updated by Niels Pardon over 15 years ago

You can use the attached extension to test the bug.

Install the attached extension through the extension manager.

In Web > List module create a new record of type "Test". Give this
record the title "parent". Add a child record via IRRE with the title
"child" and set the starttime of the child record. Save the parent record.

Now create a copy of the parent record. You will see that both the
parent and the child record are copied. Open the copy of the child record.

You will see that before the patch is applied the starttime of the copy
of the child record differs from the original child record (depends
whether you are in UTC timezone or not).

Apply the patch and do the whole procedure again. You will see that this
time the starttime of the copy of the child record does not differ from
the original child record.

Actions #2

Updated by Christian Kuhn over 15 years ago

  • Committed to trunk (rev. 5641)
Actions

Also available in: Atom PDF