Project

General

Profile

Actions

Bug #22380

closed

Moving a page with IRRE records misplaces IRRE records

Added by Francois Suter over 14 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-04-06
Due date:
% Done:

0%

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

Description

Consider the following situation: a field is added to the pages table, which uses IRRE to create relations to some other records.

When a page with such relations is moved somewhere else in the page tree, its pid is changed. The problem is that the page's new pid is also used for the IRRE records, thus misplacing the IRRE records on the page's new parent, instead of staying on the page itself.

(issue imported from #M14005)


Files

14005.diff (918 Bytes) 14005.diff Administrator Admin, 2010-04-06 11:12
T3X_bug14005-0_0_0-z-201004061113.t3x (12.4 KB) T3X_bug14005-0_0_0-z-201004061113.t3x Administrator Admin, 2010-04-06 11:13
14005_v3.diff (1.7 KB) 14005_v3.diff Administrator Admin, 2010-04-11 18:08
Actions #1

Updated by Francois Suter over 14 years ago

Steps to reproduce:

- installed test extension attached to this report
- edit a page and add a couple IRRE relations to it in the field "IRRE test"
- check that the "Bug 14005 relations" records indeed appear on that same page
- move the page to another part of your page tree
- observe that the "Bug 14005 relations" records are now stored on the new parent page and not on the page itself anymore

Apply the patch. The above behavior should not happen anymore.

Actions #2

Updated by Francois Suter over 14 years ago

Attached v3, which build on Dmitry's v2 proposed in the core ML and adds some CGL corrections.

Actions #3

Updated by Francois Suter over 14 years ago

Committed to trunk in revision 7291
Committed to 4.3 in revision 7292
Committed to 4.2 in revision 7294

Actions

Also available in: Atom PDF