Project

General

Profile

Actions

Bug #17772

closed

Hook processDatamap_afterDatabaseOperations bug with inline relations

Added by Niels Pardon over 16 years ago. Updated about 16 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2007-11-10
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.1
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

I just noticed that the patch of bug 5074 doesn't fix the whole problem. The problem described in bug 5074 is solved while creating new inline relations but it isn't solved while updating child-records.

So if I change the value of a property inside a child record then the hook processDatamap_afterDatabaseOperations is executed before the changes to the child record are saved. So I'm not able to use the new value of the child record's property.

(issue imported from #M6688)


Files

class.t3lib_tcemain.php.diff (1.96 KB) class.t3lib_tcemain.php.diff Administrator Admin, 2007-11-20 22:16
6688_trunk.diff (1.76 KB) 6688_trunk.diff Administrator Admin, 2007-11-21 17:13

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #17043: Hook processDatamap_afterDatabaseOperations bug with inline relations?ClosedOliver Hader2007-02-26

Actions
Related to TYPO3 Core - Feature #17264: Hook in TCEmain after all database operations neededClosedOliver Hader2007-04-29

Actions
Actions #1

Updated by Niels Pardon over 16 years ago

The issue is solved for me with the patch attached above.

Actions #2

Updated by Niels Pardon over 16 years ago

The patch "class.t3lib_tcemain.php.diff" is against the 4.1 branch. I also added a version for trunk.

Actions #3

Updated by Oliver Hader over 16 years ago

The solution for that problem is a new hook in TCEmain: "processDatamap_afterAllOperations"
see bug #17264

Actions

Also available in: Atom PDF